
28 Dec
2018
28 Dec
'18
9:47 p.m.
Hi Neil,
On Tue, 11 Dec 2018 at 01:27, Neil Armstrong narmstrong@baylibre.com wrote:
On 10/12/2018 01:11, Simon Glass wrote:
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
include/regmap.h | 14 +++++++++++++- test/dm/regmap.c | 7 ++++--- 2 files changed, 17 insertions(+), 4 deletions(-)
Applied to u-boot-dm/master, thanks!