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/Kconfig | |
parent | 4828a82e29eb77628526fd6b92d528c2f724cb32 (diff) | |
download | linux-34ce29774dadc24ac1a529c562c325db2b77c7b4.tar.bz2 |
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/Kconfig')
0 files changed, 0 insertions, 0 deletions