projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
461932d
)
ARM: DRA7: RTC: Add lock and unlock functions
author
Lokesh Vutla
<lokeshvutla@ti.com>
Sun, 10 Apr 2016 19:20:10 +0000
(13:20 -0600)
committer
Paul Walmsley
<paul@pwsan.com>
Sun, 10 Apr 2016 19:20:10 +0000
(13:20 -0600)
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>
arch/arm/mach-omap2/omap_hwmod_7xx_data.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
index 2f15cf13e0d7a81c64da0dd4be89d1887a20ff04..ace844b84207e6681f9af59b8a78c17aaec9ad27 100644
(file)
--- 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 */