rtc: ds1307: handle oscillator failure flags for ds1388 variant
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Fri, 7 Feb 2020 03:18:11 +0000 (16:18 +1300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 22 Mar 2020 20:40:01 +0000 (21:40 +0100)
commitdf11b323b16fce74d32571c2f80074df41df002d
tree76a8f39ba7f35ceeec05770dbb550b0bbcb55e12
parent30a790653d8ac46d3116abe99ba745a7b0c27b8b
rtc: ds1307: handle oscillator failure flags for ds1388 variant

The FLAG register is at a different location to the other supported RTCs
so this requires an extra case in the existing switch statement.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20200207031812.14424-2-chris.packham@alliedtelesis.co.nz
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-ds1307.c