summaryrefslogtreecommitdiff
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2022-09-21 14:46:22 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-10-13 01:17:21 +0300
commit0a2abbfd8586d396a8581ebf9b96fd5746f08b14 (patch)
tree71e03bbaa6302942c622398081da229fc2353b2c /drivers/rtc/Kconfig
parent31b108acc50cddf3d16472ead45c4cd0d1337289 (diff)
downloadlinux-0a2abbfd8586d396a8581ebf9b96fd5746f08b14.tar.xz
rtc: isl12022: drop redundant write to HR register
There's nothing in the data sheet that says writing to one of the time keeping registers is necessary to start the RTC. It does so at the stop condition of the i2c transfer setting the WRTC bit: Upon initialization or power-up, the WRTC must be set to "1" to enable the RTC. Upon the completion of a valid write (STOP), the RTC starts counting. Moreover, even if such a write to one of the timekeeping registers was necessary, that's exactly what we do anyway just below when we actually write the given struct rtc_time to the device. Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Link: https://lore.kernel.org/r/20220921114624.3250848-8-linux@rasmusvillemoes.dk Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
0 files changed, 0 insertions, 0 deletions