Skip to content
Commit df9cf1cc authored by Simon Glass's avatar Simon Glass
Browse files

test: dm: regmap: Fix the long test delay



At present one of the regmap tests takes 5 seconds to run since it waits
for a timeout. This should be handled using sandbox_timer_add_offset()
which advances time for test purposes.

This requires a little change to make the regmap_read_poll_timeout()
testable.

Update the macro and the test.

Fixes: ebe3497c ("test: regmap: add regmap_read_poll_timeout test")

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent d8e9cf4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment