diff options
author | Adam Ward <adam.ward.opensource@diasemi.com> | 2015-04-16 21:45:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 15:04:00 +0200 |
commit | 03cc1625e1f2e9fc6910af4174c942d56292f556 (patch) | |
tree | cab9d331c2d2d16be6e360bf70d2a5255f51adf5 /drivers/rtc/rtc-fm3130.c | |
parent | drivers/rtc/rtc-ds1685.c: fix sparse warnings (diff) | |
download | linux-03cc1625e1f2e9fc6910af4174c942d56292f556.tar.xz linux-03cc1625e1f2e9fc6910af4174c942d56292f556.zip |
drivers/rtc/rtc-da9052.c: add extra reads with timeouts to avoid returning partially updated values
The RTC is in a different clock domain so a quick read after write
can retrieve a mangled value of the old/new values
Signed-off-by: Adam Ward <adam.ward.opensource@diasemi.com>
Tested-by: Adam Ward <adam.ward.opensource@diasemi.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-fm3130.c')
0 files changed, 0 insertions, 0 deletions