Skip to content
Commit 3822d1bb authored by Baolin Wang's avatar Baolin Wang Committed by Alexandre Belloni
Browse files

rtc: sc27xx: Always read normal alarm when registering RTC device



When registering one RTC device, it will check to see if there is an
alarm already set in RTC hardware by reading RTC alarm, at this time
we should always read the normal alarm put in always-on region by
checking the rtc->registered flag.

Signed-off-by: default avatarBaolin Wang <baolin.wang@linaro.org>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent bf2c532b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment