diff options
| author | Simon Glass <[email protected]> | 2022-08-01 07:58:46 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-09-02 16:21:44 -0400 |
| commit | c4d7247a389ae2770ddcdada5143401068a696c0 (patch) | |
| tree | 39c5bc98b3a4dfbd36e0f0fb0e935d0d91c9c7b2 /include/linux | |
| parent | ea94d053e19ee3341301cf999a8dd78e37b83cca (diff) | |
dm: rtc: Avoid a race in the rtc_reset test
Since resetting the RTC on sandbox causes it to read the base time from
the system, we cannot rely on this being unchanged since it was last read.
Allow for a one-second delay.
Reviewed-by: Heinrich Schuchardt <[email protected]>
Fixes: https://source.denx.de/u-boot/u-boot/-/issues/4
Reported-by: Bin Meng <[email protected]>
Reported-by: Tom Rini <[email protected]>
Suggested-by: Rasmus Villemoes <[email protected]>
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
