diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-08-12 13:21:46 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 14:19:13 +0300 |
commit | 1fb1c35f56bb6ab4a65920c648154b0f78f634a5 (patch) | |
tree | 7e1340462b02548eba9e4fda4240c6c8de8582d0 /drivers/rtc/rtc-pcf2127.c | |
parent | 80e274e96e5bc4ddf9ee4b31ab6f4a2a9fa08040 (diff) | |
download | linux-1fb1c35f56bb6ab4a65920c648154b0f78f634a5.tar.xz |
rtc: s3c: fix disabled clocks for alarm
The clock enable/disable codes for alarm have been removed from
commit 24e1455493da ("drivers/rtc/rtc-s3c.c: delete duplicate clock
control") and the clocks are disabled even if alarm is set, so alarm
interrupt can't happen.
The s3c_rtc_setaie function can be called several times with 'enabled'
argument having same value, so it needs to check whether clocks are
enabled or not.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Cc: <stable@vger.kernel.org> # v4.1
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-pcf2127.c')
0 files changed, 0 insertions, 0 deletions