]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: mms114 - use guard notation when acquiring mutex
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 16 Aug 2024 20:56:28 +0000 (13:56 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 25 Mar 2026 04:14:55 +0000 (21:14 -0700)
commit11a64d6bb70bad120468f39ba1358b449dca4167
tree4472b556f4ca3c0ecc8a8529dab65e2cd550cfb3
parent7e1e5722e859e6624c9509a55d1f302b44d1853b
Input: mms114 - use guard notation when acquiring mutex

Guard notation simplifies code.

Also stop trying to check if input device is opened/in use in the
interrupt handler - the interrupt is disabled when device is closed or
suspended.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/mms114.c