rtc: ds1347: mask ALM OUT when reading time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 7 Oct 2019 13:47:19 +0000 (15:47 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 7 Oct 2019 13:49:29 +0000 (15:49 +0200)
commit088443c79c7720470e353fa46eb1acf642b05822
treeac75e13d5b6107a617e91413852ba8a3091ed3c5
parentff7f9e0533ffb47a18090b8cfd6fe69ef757d7e7
rtc: ds1347: mask ALM OUT when reading time

Bit 7 of the minutes registers is ALM OUT. It indicates an alarm fired.
Mask it out when reading the time.

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