diff options
author | Raul E Rangel <[email protected]> | 2022-11-22 13:44:22 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2022-11-22 13:58:48 -0800 |
commit | 2e758f535e234aa3896e3b5fc6c193268b353515 (patch) | |
tree | 5e9ff3c8ad87385034bb42a1e3b23137b8107542 /net/unix/af_unix.c | |
parent | a6d4439af581be9483e9b5b19b6c8f6dfcd47762 (diff) |
Input: elants_i2c - use PM subsystem to manage wake irq
The Elan I2C touchscreen driver is currently manually managing the wake
IRQ. This change removes the explicit enable_irq_wake/disable_irq_wake
and instead relies on the PM subsystem. This is done by calling
dev_pm_set_wake_irq.
i2c_device_probe already calls dev_pm_set_wake_irq when using device
tree, and i2c_device_remove also already calls dev_pm_clear_wake_irq.
There could be some device tree systems that have incorrectly declared
`wake` capabilities, so this change will set the wake irq if one is
missing. This matches the previous behavior.
Signed-off-by: Raul E Rangel <[email protected]>
Link: https://lore.kernel.org/r/20220929093200.v6.3.I5862429ee3e4de0f9ad5ba01ce07ad99eec10cf0@changeid
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions