]> git.karo-electronics.de Git - karo-tx-linux.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)
commita9dbe558920e12ea286cd4479039df26991a95de
tree713c2c948bb691b86ea4b19f106c56789f887e9a
parent0ddc5b89cd12938e251c691563f45409b4d15d98
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