diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-08-23 23:45:19 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-08-24 16:23:16 +0200 |
commit | 604c78235a35202e2150866dcf12f27eed5c6a04 (patch) | |
tree | f994dae87e0d0e4c53ab36cc709daf3466d44af0 /drivers/rtc/rtc-ds1305.c | |
parent | 0a53a167224d1c8cb90166f7cce96631b635f33c (diff) | |
download | linux-604c78235a35202e2150866dcf12f27eed5c6a04.tar.bz2 |
rtc: mxc: avoid disabling interrupts on device close
Currently, the IRQs are disabled when the rtc character device is closed.
This means that the device needs to stay open to get alarms while the usual
use case will open the device, set the alarm and close the device as is
done in rtcwake.
Keep the alarm functional on character device release so the platform can
actually wakeup.
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1305.c')
0 files changed, 0 insertions, 0 deletions