diff options
author | 韩科才 <hankecai@vivo.com> | 2020-03-21 19:50:17 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-03-23 09:27:17 +0100 |
commit | 34ce29774dadc24ac1a529c562c325db2b77c7b4 (patch) | |
tree | 27285562a01f00972a967919a0cf91f618178c14 /drivers/rtc/hctosys.c | |
parent | rtc: omap: drop unused dt-bindings header (diff) | |
download | linux-dev-34ce29774dadc24ac1a529c562c325db2b77c7b4.tar.xz linux-dev-34ce29774dadc24ac1a529c562c325db2b77c7b4.zip |
rtc: pm8xxx: clear alarm register when alarm is not enabled
Clear alarm register when alarm is not enabled otherwise the consumer
may still start alarm timer if it find the alarm register is not zero.
Signed-off-by: hankecai <hankecai@vivo.com>
Link: https://lore.kernel.org/r/APoAZgAaCEiRpKG6PlzreaqE.1.1584791417367.Hmail.hankecai@vivo.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/hctosys.c')
0 files changed, 0 insertions, 0 deletions