rtc: rs5c372: r2221: fix to use the correct XSTP bit
authorOliver.Rohe@wago.com <Oliver.Rohe@wago.com>
Wed, 9 Jan 2019 10:59:40 +0000 (10:59 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 5 Feb 2019 22:11:31 +0000 (23:11 +0100)
commit761acdda5c2cc89208a94941f69579923420c8e9
tree6a5e0ccc1b5eedd1a3ddddefed74f08c29081c71
parentedb190cb173416b9d7f59b3887ecc43f6d94a9ad
rtc: rs5c372: r2221: fix to use the correct XSTP bit

The Ricoh chips have slightly different register layouts
and the r2221 chip uses bit 5 as the oscillator halt sensor bit.

Signed-off-by: Olive Rohe <oliver.rohe@wago.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rs5c372.c