summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pl031.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-05-22 05:19:55 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-05-30 04:17:48 +0300
commit20af67700bc39bccd838414128f63a72965de6e7 (patch)
tree912ad3b2381fe46c6c541c716101a6461fb1a2d2 /drivers/rtc/rtc-pl031.c
parent378252b6e24f764a5e41eb4552f1c3989ca12e81 (diff)
downloadlinux-20af67700bc39bccd838414128f63a72965de6e7.tar.xz
rtc: snvs: Make SNVS clock always prepared
In IRQ handler, ONLY clock enable/disable is called due to clock prepare can NOT be called in interrupt context, but clock enable/disable will return failure if prepare count is 0, to fix this issue, just make SNVS clock always prepared there, the SNVS clock has no prepare function implemented, so it won't impact anything. 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-1-git-send-email-Anson.Huang@nxp.com
Diffstat (limited to 'drivers/rtc/rtc-pl031.c')
0 files changed, 0 insertions, 0 deletions