drivers/rtc/rtc-pl031.c: enable clock on all ST variants
commit2f3972168353d355854d6381f1f360ce83b723e5
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 12 Apr 2012 19:49:16 +0000 (12 12:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Apr 2012 20:12:12 +0000 (12 13:12 -0700)
tree78d1013f792083ca34925fba1ae30e71c7bbd1d5
parent41c93088127df2579e8ca64010929ec9e41d5543
drivers/rtc/rtc-pl031.c: enable clock on all ST variants

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-pl031.c