summaryrefslogtreecommitdiff
path: root/include/linux/rtc.h
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-08-23 23:45:19 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-08-24 16:23:16 +0200
commit604c78235a35202e2150866dcf12f27eed5c6a04 (patch)
treef994dae87e0d0e4c53ab36cc709daf3466d44af0 /include/linux/rtc.h
parent0a53a167224d1c8cb90166f7cce96631b635f33c (diff)
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 'include/linux/rtc.h')
0 files changed, 0 insertions, 0 deletions