diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2022-02-16 16:24:42 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-03-25 11:37:55 +0100 |
commit | b5bf5b283d07bd1f4d49657557fb99ec5fbfc588 (patch) | |
tree | 9547a50b16a14bbc35e7e0ef07cb5b47c4c8a0e6 /drivers/rtc/rtc-rx8581.c | |
parent | 1521ca5b9f93e3d8c9782ac10a42bc5c3a3ba370 (diff) | |
download | linux-b5bf5b283d07bd1f4d49657557fb99ec5fbfc588.tar.bz2 |
rtc: pm8xxx: Attach wake irq to device
Attach the interrupt as a wake-irq to the device, so that:
- A corresponding wakeup source is created (and reported in e.g
/sys/kernel/debug/wakeup_sources).
- The power subsystem take cares of arming/disarming
irq-wake automatically on suspend/resume.
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1645025082-6138-1-git-send-email-loic.poulain@linaro.org
Diffstat (limited to 'drivers/rtc/rtc-rx8581.c')
0 files changed, 0 insertions, 0 deletions