提交 b5a553c0 编写于 作者: L Lokesh Vutla 提交者: Paul Walmsley

ARM: AMx3xx: RTC: Add lock and unlock functions

Hook omap_hwmod_rtc_unlock/lock functions into RTC hwmod,
so that SYSCONFIG register is updated properly.
Signed-off-by: NLokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: NPaul Walmsley <paul@pwsan.com>
上级 d7d31b89
...@@ -918,6 +918,8 @@ static struct omap_hwmod_class_sysconfig am33xx_rtc_sysc = { ...@@ -918,6 +918,8 @@ static struct omap_hwmod_class_sysconfig am33xx_rtc_sysc = {
static struct omap_hwmod_class am33xx_rtc_hwmod_class = { static struct omap_hwmod_class am33xx_rtc_hwmod_class = {
.name = "rtc", .name = "rtc",
.sysc = &am33xx_rtc_sysc, .sysc = &am33xx_rtc_sysc,
.unlock = &omap_hwmod_rtc_unlock,
.lock = &omap_hwmod_rtc_lock,
}; };
struct omap_hwmod am33xx_rtc_hwmod = { struct omap_hwmod am33xx_rtc_hwmod = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册