]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit30bb367daa9d0b0f40d45d2e2031c27411e28009
tree6dad74f8a0426de085da4a152cde954ffd56e4fc
parent6574334e56c3b835a471504bbd6f229ce11e2492
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