commit | 34ce29774dadc24ac1a529c562c325db2b77c7b4 | [log] [tgz] |
---|---|---|
author | 韩科才 <hankecai@vivo.com> | Sat Mar 21 19:50:17 2020 +0800 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Mon Mar 23 09:27:17 2020 +0100 |
tree | 27285562a01f00972a967919a0cf91f618178c14 | |
parent | 4828a82e29eb77628526fd6b92d528c2f724cb32 [diff] |
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>