summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-04 17:07:08 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-26 01:52:45 +0300
commit2860586c588ad2dd8747e85ab43c4cf58bb066f4 (patch)
tree4630eea3cdcd805541b2c09b1f86350fa3544d9e /tools/perf/scripts/python/net_dropmonitor.py
parentbffdf9d7e51a7be8eeaac2ccf9e54a5fde01ff65 (diff)
downloadlinux-2860586c588ad2dd8747e85ab43c4cf58bb066f4.tar.xz
Input: adp5588-keys - do not try to disable interrupt 0
Commit dc748812fca0 ("Input: adp5588-keys - add support for pure gpio") made having interrupt line optional for the device, however it neglected to update suspend and resume handlers that try to disable interrupts for the duration of suspend. Fix this by checking if interrupt number assigned to the i2c device is not 0 before trying to disable or reenable it. Fixes: dc748812fca0 ("Input: adp5588-keys - add support for pure gpio") Link: https://lore.kernel.org/r/Zv_2jEMYSWDw2gKs@google.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions