rtc: sc27xx: Clear SPG value update interrupt status
authorBaolin Wang <baolin.wang@linaro.org>
Thu, 18 Oct 2018 08:52:27 +0000 (16:52 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 25 Oct 2018 00:35:38 +0000 (02:35 +0200)
commit7db5adfa63167dac548022c973e00da7f56ffb72
tree3b09ead1185b50a5918400d5f5623366cd7689bf
parenta86d6b23ed9729d47b2818857d8fa5d8e3f8284a
rtc: sc27xx: Clear SPG value update interrupt status

We should clear the SPG value update interrupt status once the SPG value
is updated successfully, in case incorrect status validation for next time.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-sc27xx.c