summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorMarkus Probst <markus.probst@posteo.de>2026-09-30 15:31:50 +0000
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-10-29 11:15:58 +0100
commit6199051016cddba920b6023a44199c5221352c44 (patch)
tree13d83102812cf503592ce6a253d19e9c37a91229 /tools/lib/python/kdoc
parentd93f29e41089bbb14637289fe77bdd72b71e9ac5 (diff)
rtc: s35390a: Read 24-hour mode on access
Instead of reading if the 24-hour mode is used on probe once, read it on access. This makes it impossible for the mode to be out of sync and fixes time corruption if resetting the chip while in 12-hour mode, as `s35390a_init` did not update the cached value. Fixes: 16486d0c1c65 ("rtc: s35390a: handle invalid RTC time") Signed-off-by: Markus Probst <markus.probst@posteo.de> Link: https://patch.msgid.link/20260930-rtc_s35390a_int1-v10-4-e7b1cbc50a7b@posteo.de Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions