Home
last modified time | relevance | path

Searched hist:"03 a86cda4123084c7969387e7e0b69f23c2f8acf" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/rtc/
H A Drtc-rv8803.cdiff 03a86cda4123084c7969387e7e0b69f23c2f8acf Mon Nov 01 02:33:59 CET 2021 Dominique Martinet <dominique.martinet@atmark-techno.com> rtc: rv8803: fix writing back ctrl in flag register

ctrl is set from read_regs(..FLAG, 2, ctrl), so ctrl[0] is FLAG
and ctrl[1] is the CTRL register.
Use ctrl[0] to write back to the FLAG register as appropriate.

Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211101013400.325855-1-dominique.martinet@atmark-techno.com