]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde8ed84d4532cf6354eafdcaeaa5467cf29d24ad
tree6a5e0ccc1b5eedd1a3ddddefed74f08c29081c71
parentd0831121b4bf1f42ca4bb4550c0b717185285a61
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