rtc: pcf85063: fix pcf85063_clkout_control
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 11 Dec 2022 22:35:53 +0000 (23:35 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 11 Dec 2022 22:49:13 +0000 (23:49 +0100)
commitc2d12e85336f6d4172fb2bab5935027c446d7343
treed57517cdcd81da6beb8e778e3c4461e4d96d96ef
parent103c14db61a24cc0cd344dc5d93d264a36687c35
rtc: pcf85063: fix pcf85063_clkout_control

pcf85063_clkout_control reads the wrong register but then update the
correct one.

Reported-by: Janne Terho <janne.terho@ouman.fi>
Fixes: 8c229ab6048b ("rtc: pcf85063: Add pcf85063 clkout control to common clock framework")
Link: https://lore.kernel.org/r/20221211223553.59955-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf85063.c