diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-10-21 17:56:31 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-11-08 16:14:09 +0100 |
commit | 3e74ddaa7ca06f4c41bc3c83286534cb7ebc90eb (patch) | |
tree | 5a93e2498ae5e8d7fdcbc7624a518a5e721fe047 /drivers/hid | |
parent | 7e7c005b4b1f1f169bcc4b2c3a40085ecc663df2 (diff) |
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/hid')
0 files changed, 0 insertions, 0 deletions