]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-pl031.c: enable clock on all ST variants
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Apr 2012 19:49:16 +0000 (12:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 23:21:23 +0000 (16:21 -0700)
commitdf8f1d26332cd7bac59eda006e01b07d119a7034
tree41e1eecebe0e7921cf9631012a64faf950aaa652
parent9a8bf5fd4a27ee78730355f732f5bd8eaa5349f9
drivers/rtc/rtc-pl031.c: enable clock on all ST variants

commit 2f3972168353d355854d6381f1f360ce83b723e5 upstream.

The ST variants of the PL031 all require bit 26 in the control register
to be set before they work properly.  Discovered this when testing on
the Nomadik board where it would suprisingly just stand still.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Cc: Alessandro Rubini <rubini@unipv.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/rtc/rtc-pl031.c