linux/drivers/input
Dmitry Torokhov 978134c4b1 Input: fix open count when closing inhibited device
Because the kernel increments device's open count in input_open_device()
even if device is inhibited, the counter should always be decremented in
input_close_device() to keep it balanced.

Fixes: a181616487 ("Input: Add "inhibited" property")
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Link: https://lore.kernel.org/r/ZFFz0xAdPNSL3PT7@google.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2023-05-05 11:19:47 -07:00
..
gameport input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
joystick Merge branch 'next' into for-linus 2023-05-01 15:20:08 -07:00
keyboard Input: iqs62x-keys - suppress duplicated error message in .remove() 2023-03-19 21:34:24 -07:00
misc Input: cma3000_d0x - remove unneeded code 2023-04-09 19:18:39 -07:00
mouse Merge branch 'next' into for-linus 2023-05-01 15:20:08 -07:00
rmi4 Input: synaptics-rmi4 - fix function name in kerneldoc 2023-04-13 23:25:35 -07:00
serio Merge branch 'next' into for-linus 2023-05-01 15:20:08 -07:00
tablet Input: pegasus-notetaker - check pipe type when probing 2023-04-09 19:19:14 -07:00
tests Input: Add KUnit tests for some of the input core helper functions 2023-04-01 22:47:04 -07:00
touchscreen Input: cyttsp5 - fix array length 2023-05-01 17:30:31 -07:00
apm-power.c
evbug.c Input: evbug - remove an empty comment block 2021-05-24 21:06:39 -07:00
evdev.c
ff-core.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
ff-memless.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
input-compat.c
input-compat.h
input-core-private.h Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-leds.c
input-mt.c Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-poller.c Input: use input_device_enabled() 2020-12-02 22:10:33 -08:00
input-poller.h
input.c Input: fix open count when closing inhibited device 2023-05-05 11:19:47 -07:00
joydev.c Input: joydev - fix comment typo 2022-09-25 00:57:25 -07:00
Kconfig Input: Add KUnit tests for some of the input core helper functions 2023-04-01 22:47:04 -07:00
Makefile Input: Add KUnit tests for some of the input core helper functions 2023-04-01 22:47:04 -07:00
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c Input: touchscreen - avoid bitwise vs logical OR warning 2021-10-15 22:22:54 -07:00
vivaldi-fmap.c Input: extract ChromeOS vivaldi physmap show function 2022-03-14 21:11:09 -07:00