]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Input: cyttsp - use guard notation when acquiring mutex
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 18 Aug 2024 00:14:57 +0000 (17:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 25 Mar 2026 04:14:23 +0000 (21:14 -0700)
commita0a92414af42b79f4e2829adfd55478a8e74eb33
tree122bb6fafe5ed12a453ee8731041cdc6b3c2d079
parent37115e7df5d0e75c661aa65f7ac9fa0991759c6d
Input: cyttsp - use guard notation when acquiring mutex

Guard notation simplifies code.

Also fix the touchscreen not being marked as suspended when noone has
opened/is using it.

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