diff options
author | Samuel Holland <[email protected]> | 2020-01-21 22:03:14 -0800 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2020-01-21 22:05:27 -0800 |
commit | fe77f9bb1185e6986fd0246cf16f02954d7a09bf (patch) | |
tree | 9f60e7f5bf454f06f443681735e15677eafef391 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 0dfed6dc24576f256782d5288537927c69256081 (diff) |
Input: axp20x-pek - respect userspace wakeup configuration
Unlike most other power button drivers, this driver unconditionally
enables its wakeup IRQ. It should be using device_may_wakeup() to
respect the userspace configuration of wakeup sources.
Because the AXP20x MFD device uses regmap-irq, the AXP20x PEK IRQs are
nested off of regmap-irq's threaded interrupt handler. The device core
ignores such interrupts, so to actually disable wakeup, we must
explicitly disable all non-wakeup interrupts during suspend.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions