]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf85063: fix pcf85063_clkout_control
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 11 Dec 2022 22:35:53 +0000 (23:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:53 +0000 (13:32 +0100)
commit7e3e5ae563fe0770316c5a1c10060897e3401d8a
tree133a7f60121abc0ed2965a6a84f4f7f715925968
parenta2f4b421ae74c32763234d6bb6181981574676e2
rtc: pcf85063: fix pcf85063_clkout_control

[ Upstream commit c2d12e85336f6d4172fb2bab5935027c446d7343 ]

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

Reported-by: Janne Terho <janne.terho@ouman.fi>
Fixes: 50b9eca17a07 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/rtc-pcf85063.c