]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2ea188f93524bf7347a6da0d13d8b9bd65a47aa7
tree76a8f39ba7f35ceeec05770dbb550b0bbcb55e12
parent4c9b537baf349b45a97b70eccef5aaae3f752691
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