]> Git Repo - linux.git/commit
drivers/rtc/rtc-pl031.c: configure correct wday for 2000-01-01
authorRajkumar Kasirajan <[email protected]>
Fri, 18 May 2012 00:03:24 +0000 (17:03 -0700)
committerLinus Torvalds <[email protected]>
Fri, 18 May 2012 01:00:51 +0000 (18:00 -0700)
commitc0a5f4a05af588a0f9951f8d24e2564b09501918
treef96b6f0e201978ad9d2cb03a59a83940304fbe3b
parent1be5f0b7575e090fd100a98b303860879b5800de
drivers/rtc/rtc-pl031.c: configure correct wday for 2000-01-01

The reset date of the ST Micro version of PL031 is 2000-01-01.  The
correct weekday for 2000-01-01 is saturday, but pl031 is initialized to
sunday.  This may lead to alarm malfunction, so configure the correct
wday if RTC_DR indicates reset.

Signed-off-by: Rajkumar Kasirajan <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Cc: Mattias Wallin <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-pl031.c
This page took 0.05316 seconds and 4 git commands to generate.