]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/rtc/rtc-pl031.c: fix the missing operation on enable
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Mon, 4 Feb 2013 22:28:54 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Feb 2013 09:38:49 +0000 (20:38 +1100)
commit1bfb959ee6e53a01b41e5c43194a19acea8ff518
treefec0169c405a6f6618df263db8d6cb20c4e6cbd4
parent9351c079af310b10040d5288a31292daa54071d5
drivers/rtc/rtc-pl031.c: fix the missing operation on enable

The RTC control register should be enabled in the process of
initializing.

Without this patch, I failed to enable RTC in Hisilicon Hi3620 SoC.  The
register mapping section in RTC is always read as zero.  So I doubt that
ST guys may already enable this register in bootloader.  So they won't
meet this issue.

Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.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