commit | c2a7c490ecaf36af5a7659179642ef61ad9b2db7 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Dec 09 17:11:10 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Mon Jan 14 17:47:13 2019 -0700 |
tree | fd2091e5077bf8693db4b8c0df9644ec14a119bd | |
parent | a98ba7f5c619e2327fea6e574e04728386fbcf0d [diff] |
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: ebe3497c9c ("test: regmap: add regmap_read_poll_timeout test") Signed-off-by: Simon Glass <sjg@chromium.org>