]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: iqs7222 - avoid enabling unused interrupts
authorJeff LaBundy <jeff@labundy.com>
Mon, 18 Aug 2025 00:20:22 +0000 (19:20 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:29:57 +0000 (16:29 +0200)
commit2c79549bac4442b5e92f335c9eef5d115bbf41c4
treeddeaea76102e30aa8fb83eda409ea08cf9b63a04
parente4ec6def5643a1c9511115b3884eb879572294c6
Input: iqs7222 - avoid enabling unused interrupts

commit c9ddc41cdd522f2db5d492eda3df8994d928be34 upstream.

If a proximity event node is defined so as to specify the wake-up
properties of the touch surface, the proximity event interrupt is
enabled unconditionally. This may result in unwanted interrupts.

Solve this problem by enabling the interrupt only if the event is
mapped to a key or switch code.

Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Link: https://lore.kernel.org/r/aKJxxgEWpNaNcUaW@nixie71
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/misc/iqs7222.c