rtc: rv3028: fix PORF handling
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 26 Jan 2021 22:14:33 +0000 (23:14 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 5 Feb 2021 23:56:30 +0000 (00:56 +0100)
commitf007c479c2d0ca0a537286511aa5d07b75755513
treede264127a8cdd8099ebd7f5c5d99a8043785d1c8
parent0c1095d334dafda22463454b0519c926447b555e
rtc: rv3028: fix PORF handling

The PORF bit is cleared on interrupts which prevents the driver to know
when the time and date are invalid. Stop clearing PORF in the interrupt
handler.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210126221435.2152339-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-rv3028.c