ARM Sunxi Platform Development
 help / color / mirror / Atom feed
* [PATCH 0/3] Input: clear the wake IRQ on unbind
@ 2026-11-25  7:21 Prasanth R
  2026-11-25  7:21 ` [PATCH 1/3] Input: snvs_pwrkey - " Prasanth R
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Prasanth R @ 2026-11-25  7:21 UTC (permalink / raw)
  To: Dmitry Torokhov, linux-input
  Cc: Hans de Goede, Chen-Yu Tsai, Jernej Skrabec, Samuel Holland,
	Support Opensource, linux-arm-kernel, linux-sunxi, Prasanth R

From: Prasanth R <ragaprasanth@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-26  8:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25  7:21 [PATCH 0/3] Input: clear the wake IRQ on unbind Prasanth R
2026-11-25  7:21 ` [PATCH 1/3] Input: snvs_pwrkey - " Prasanth R
2026-11-25  7:21 ` [PATCH 2/3] Input: sun4i-lradc-keys " Prasanth R
2026-11-25  7:21 ` [PATCH 3/3] Input: da9063 " Prasanth R
2026-11-26  8:21 ` [PATCH 0/3] Input: " Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox