summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-04-10 13:20:10 -0600
committerPaul Walmsley <paul@pwsan.com>2016-04-10 13:20:10 -0600
commitb5a553c08bec14a058501df3fa6eb39f63f00a98 (patch)
tree2d5de6ff7259a510bb03563bc314bc60da701be4 /arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
parentd7d31b897050ce2c60960ebb6517fc228c52e9bb (diff)
downloadblackbird-op-linux-b5a553c08bec14a058501df3fa6eb39f63f00a98.tar.gz
blackbird-op-linux-b5a553c08bec14a058501df3fa6eb39f63f00a98.zip
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 <lokeshvutla@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
index 907a452b78ea..aed33621deeb 100644
--- a/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c
@@ -918,6 +918,8 @@ static struct omap_hwmod_class_sysconfig am33xx_rtc_sysc = {
static struct omap_hwmod_class am33xx_rtc_hwmod_class = {
.name = "rtc",
.sysc = &am33xx_rtc_sysc,
+ .unlock = &omap_hwmod_rtc_unlock,
+ .lock = &omap_hwmod_rtc_lock,
};
struct omap_hwmod am33xx_rtc_hwmod = {
OpenPOWER on IntegriCloud