aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2023-05-05 18:16:07 +0000
committerDmitry Torokhov <[email protected]>2023-05-05 18:19:47 +0000
commit978134c4b192ed04ecf699be3e1b4d23b5d20457 (patch)
tree7044cc3c9e0150f2c189058261f8d9979195352f /drivers/usb/cdns3/cdns3-gadget.c
parentInput: cyttsp5 - fix array length (diff)
downloadkernel-978134c4b192ed04ecf699be3e1b4d23b5d20457.tar.gz
kernel-978134c4b192ed04ecf699be3e1b4d23b5d20457.zip
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: a181616487db ("Input: Add "inhibited" property") Reviewed-by: Peter Hutterer <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions