Skip to content

Commit b5a553c

Browse files
lokeshvutlaPaul Walmsley
authored andcommitted
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: Lokesh Vutla <[email protected]> Signed-off-by: Paul Walmsley <[email protected]>
1 parent d7d31b8 commit b5a553c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,8 @@ static struct omap_hwmod_class_sysconfig am33xx_rtc_sysc = {
918918
static struct omap_hwmod_class am33xx_rtc_hwmod_class = {
919919
.name = "rtc",
920920
.sysc = &am33xx_rtc_sysc,
921+
.unlock = &omap_hwmod_rtc_unlock,
922+
.lock = &omap_hwmod_rtc_lock,
921923
};
922924

923925
struct omap_hwmod am33xx_rtc_hwmod = {

0 commit comments

Comments
 (0)