summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-05-22 20:22:55 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-06-07 06:58:34 +0300
commit441c510a649c8ddce38aa0311334ed8bb546b36c (patch)
tree4fc3cf4687bed800bd740cfe434d562aa187129f
parent2c9b85a14abb4811e8d4773ccd13559e59792efb (diff)
downloadlinux-441c510a649c8ddce38aa0311334ed8bb546b36c.tar.xz
Input: ims-pcu - release data interface on disconnect
During probe the driver claims the data interface, but it never releases it. Release it in disconnect to avoid leaving it permanently claimed. Fixes: 628329d52474 ("Input: add IMS Passenger Control Unit driver") Cc: stable@vger.kernel.org Reported-by: Sashiko bot <sashiko-bot@kernel.org> Assisted-by: Gemini:gemini-3.1-pro Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--drivers/input/misc/ims-pcu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c
index 32b5b01b2f2e..75a0cadf7be9 100644
--- a/drivers/input/misc/ims-pcu.c
+++ b/drivers/input/misc/ims-pcu.c
@@ -2097,6 +2097,7 @@ static void ims_pcu_disconnect(struct usb_interface *intf)
ims_pcu_destroy_application_mode(pcu);
ims_pcu_buffers_free(pcu);
+ usb_driver_release_interface(&ims_pcu_driver, pcu->data_intf);
kfree(pcu);
}