diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-11 10:27:15 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-08-04 18:10:40 -0700 |
commit | d086d6d8036a9551781bf3a3002cfad87a8fda40 (patch) | |
tree | c6fa077990491781ae5f203d95ad2589c2c2750d /scripts/lib/kdoc/kdoc_output.py | |
parent | f56b591880ff88f2107d5fe05fa6e1b9c804fb26 (diff) |
Input: tsc2004/5 - do not use irq_set_irq_wake() directly
Instead of setting irq_set_irq_wake() directly in probe(), mark the device
as wakeup-capable, and use enable_irq_wake() and disable_irq_wake() in
suspend/resume path.
This also allows changing the wakeup setting dynamically at runtime using
/sys/devices/.../tsc2005/power/wakeup.
Reviewed-By: Sebastian Reichel <sre@kernel.org>
Link: https://lore.kernel.org/r/20240711172719.1248373-4-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions