diff options
author | Tero Kristo <t-kristo@ti.com> | 2016-10-27 11:27:26 +0530 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-11-04 23:11:39 +0100 |
commit | efce21fc43e00a76aee7b0a1eda73730ed2d5d3a (patch) | |
tree | 8c41f0898936931b4db2cea74850ba926aa36388 /certs | |
parent | 3984903a2e3906d3def220e688040ce93368200a (diff) | |
download | talos-obmc-linux-efce21fc43e00a76aee7b0a1eda73730ed2d5d3a.tar.gz talos-obmc-linux-efce21fc43e00a76aee7b0a1eda73730ed2d5d3a.zip |
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 'certs')
0 files changed, 0 insertions, 0 deletions