summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2016-10-27 11:27:26 +0530
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-11-04 23:11:39 +0100
commitefce21fc43e00a76aee7b0a1eda73730ed2d5d3a (patch)
tree8c41f0898936931b4db2cea74850ba926aa36388 /Documentation/devicetree
parent3984903a2e3906d3def220e688040ce93368200a (diff)
rtc: omap: prevent disabling of clock/module during suspend
If RTC is running from an internal clock source, the RTC module can't be disabled; otherwise it stops ticking completely. Current suspend handler implementation disables the clock/module unconditionally, instead fix this by disabling the clock only if we are running on external clock source, which is not affected by suspend. The prevention of disabling the clock must be done via implementing the runtime_pm handlers for the device, and returning an error code from the runtime suspend handler; otherwise OMAP core PM will disable the clocks for the driver. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions