Skip to content

Commit d7d31b8

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/mach-omap2/omap_hwmod_7xx_data.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,6 +1925,8 @@ static struct omap_hwmod_class_sysconfig dra7xx_rtcss_sysc = {
19251925
static struct omap_hwmod_class dra7xx_rtcss_hwmod_class = {
19261926
.name = "rtcss",
19271927
.sysc = &dra7xx_rtcss_sysc,
1928+
.unlock = &omap_hwmod_rtc_unlock,
1929+
.lock = &omap_hwmod_rtc_lock,
19281930
};
19291931

19301932
/* rtcss */

0 commit comments

Comments
 (0)