summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-ab-b5ze-s3.c
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-10-21 18:56:31 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-11-08 18:14:09 +0300
commit3e74ddaa7ca06f4c41bc3c83286534cb7ebc90eb (patch)
tree5a93e2498ae5e8d7fdcbc7624a518a5e721fe047 /drivers/rtc/rtc-ab-b5ze-s3.c
parent7e7c005b4b1f1f169bcc4b2c3a40085ecc663df2 (diff)
downloadlinux-3e74ddaa7ca06f4c41bc3c83286534cb7ebc90eb.tar.xz
rtc: disallow update interrupts when time is invalid
Never enable update interrupts when the time set on the rtc is invalid. In that case, also avoid enabling the emulation because it will fail for the same reason. Link: https://lore.kernel.org/r/20191021155631.3342-2-alexandre.belloni@bootlin.com Link: https://lore.kernel.org/r/CA+ASDXMarBG5C1Kz42B9i_iVZ1=i6GgH9Yja2cdmSueKD_As_g@mail.gmail.com Reported-by: Jeffy Chen <jeffy.chen@rock-chips.com> Reported-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-ab-b5ze-s3.c')
0 files changed, 0 insertions, 0 deletions