diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-04-10 13:20:10 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2016-04-10 13:20:10 -0600 |
commit | d7d31b897050ce2c60960ebb6517fc228c52e9bb (patch) | |
tree | bfe164d796aa580ba35b9f35c08cc75b810ebaf7 /arch/arm/mach-omap2 | |
parent | 461932dfb54ebaf7da438fd8b769a01ce97a9360 (diff) | |
download | linux-d7d31b897050ce2c60960ebb6517fc228c52e9bb.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c index 2f15cf13e0d7..ace844b84207 100644 --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c +++ b/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 = { .name = "rtcss", .sysc = &dra7xx_rtcss_sysc, + .unlock = &omap_hwmod_rtc_unlock, + .lock = &omap_hwmod_rtc_lock, }; /* rtcss */ |