commit | 3822d1bb0df18aa28930f19bc46e0704aea1be0f | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Thu Oct 18 16:52:30 2018 +0800 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Oct 25 02:35:42 2018 +0200 |
tree | dab8e4b37be5c2c83d7701485def1454513bcef8 | |
parent | bf2c532b67fc077051e17de4a1304a83e5ca5b15 [diff] |
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: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>