Skip to content
Commit 121f54ef authored by Guixiong Wei's avatar Guixiong Wei Committed by Alexandre Belloni
Browse files

rtc: pm8xxx: Read ALARM_EN and update to alarm enabled status



ALARM_EN status is retained in PMIC register after device shutdown
if poweron_alarm is enabled. Read it to make sure the driver has
consistent value with the register status.

Signed-off-by: default avatarGuixiong Wei <guixiong@codeaurora.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1608809337-18852-1-git-send-email-guixiong@codeaurora.org
parent 5c8fe583
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment