]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/rtc/rtc-snvs.c
rtc: snvs: Add necessary clock operations for RTC APIs
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 22 May 2020 02:19:56 +0000 (10:19 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 30 May 2020 01:17:48 +0000 (03:17 +0200)
commit4b957bde561f3a56865395be06f1be2c196b0b5e
tree6dad74f8a0426de085da4a152cde954ffd56e4fc
parent20af67700bc39bccd838414128f63a72965de6e7
rtc: snvs: Add necessary clock operations for RTC APIs

There could be still RTC registers access after RTC suspend
with clock disabled, need to add clock operations for each
RTC API to make sure accessing RTC registers is successfully.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1590113996-31845-2-git-send-email-Anson.Huang@nxp.com
drivers/rtc/rtc-snvs.c