Commit 9a825a02 authored by Guixiong Wei's avatar Guixiong Wei Committed by Gerrit - the friendly Code Review server
Browse files

rtc: 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.

Change-Id: I64640278f2efb4d8922df1fc7030d4f4bca9a528
Signed-off-by: default avatarGuixiong Wei <guixiong@codeaurora.org>
parent 655b9ac5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment