commit | b2ddc48582efa157635f7ef815c9d4a657e2cabd | [log] [tgz] |
---|---|---|
author | Baolin Wang <baolin.wang@linaro.org> | Thu Oct 18 16:52:28 2018 +0800 |
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | Thu Oct 25 02:35:39 2018 +0200 |
tree | 75e45229469995cf98a4d716856109ef1d8c63cf | |
parent | 7db5adfa63167dac548022c973e00da7f56ffb72 [diff] |
rtc: sc27xx: Remove interrupts disable and clear in probe() When registering one rtc device, it will check to see if there is an alarm already set in rtc hardware by issuing __rtc_read_alarm(). So we should not disable the RTC interrupts and clear the interrupts status in probe() function. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>