]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rs5c372: r2025: fix check for 'oscillator halted' condition
authorThomas Koeller <thomas.koeller@baslerweb.com>
Wed, 2 Jun 2010 13:53:05 +0000 (15:53 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 21 May 2016 15:07:16 +0000 (17:07 +0200)
commitc68e0f1f26b27ae7b9b948b0ad75d78fd5386426
tree713c2c948bb691b86ea4b19f106c56789f887e9a
parent07d4592617002d690a4fa308aedc76795910e748
rtc: rs5c372: r2025: fix check for 'oscillator halted' condition

The R2025SD chip, according to its data sheet, sets the /XST
bit to zero if the oscillator stops. Hence the check for this
condition was wrong.

Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rs5c372.c