mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 11:45:53 -05:00
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]>
This commit is contained in:
parent
d7d31b8970
commit
b5a553c08b
1 changed files with 2 additions and 0 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue