Эх сурвалжийг харах

ARM: DRA7: 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: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Lokesh Vutla 9 жил өмнө
parent
commit
d7d31b8970

+ 2 - 0
arch/arm/mach-omap2/omap_hwmod_7xx_data.c

@@ -1925,6 +1925,8 @@ static struct omap_hwmod_class_sysconfig dra7xx_rtcss_sysc = {
 static struct omap_hwmod_class dra7xx_rtcss_hwmod_class = {
 static struct omap_hwmod_class dra7xx_rtcss_hwmod_class = {
 	.name	= "rtcss",
 	.name	= "rtcss",
 	.sysc	= &dra7xx_rtcss_sysc,
 	.sysc	= &dra7xx_rtcss_sysc,
+	.unlock	= &omap_hwmod_rtc_unlock,
+	.lock	= &omap_hwmod_rtc_lock,
 };
 };
 
 
 /* rtcss */
 /* rtcss */