rtc: m41t62: add oscillator fail bit reset support
authorSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 2 Sep 2020 17:31:40 +0000 (19:31 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 1 Nov 2020 14:58:47 +0000 (15:58 +0100)
commit9bbe210512c4539a8858b97e52d9953e0410087a
tree2465352ad683d572f0f10e49154fd4fbd123e679
parent8691198d1b859a89c3f1c404730134962136b713
rtc: m41t62: add oscillator fail bit reset support

In case of empty battery or glitches the oscillator fail
bit might be set. This will reset the bit in the reset
routine.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/rtc/m41t62.c