[PATCH 0/3] Input: clear the wake IRQ on unbind
Prasanth R
ragaprasanth at gmail.com
Tue Nov 24 23:21:21 PST 2026
From: Prasanth R <ragaprasanth at gmail.com>
These drivers set a wake IRQ with dev_pm_set_wake_irq() and never clear
it. After unbind and bind, dev_pm_set_wake_irq() warns "wake irq already
initialized" and returns -EEXIST.
Switch them to the device-managed helpers.
Patch 1 is tested on an i.MX6Q SABRE-SD board by unbinding and binding
the driver through sysfs. The others are compile-tested only (ARM,
clang, W=1).
I used an AI assistant (Claude) to find these and write the changes.
Prasanth R (3):
Input: snvs_pwrkey - clear the wake IRQ on unbind
Input: sun4i-lradc-keys - clear the wake IRQ on unbind
Input: da9063 - clear the wake IRQ on unbind
drivers/input/keyboard/snvs_pwrkey.c | 9 +++++++--
drivers/input/keyboard/sun4i-lradc-keys.c | 2 +-
drivers/input/misc/da9063_onkey.c | 4 ++--
3 files changed, 10 insertions(+), 5 deletions(-)
--
2.43.0
More information about the linux-arm-kernel
mailing list