]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: btusb: mediatek: add intf release flow when usb disconnect
authorChris Lu <chris.lu@mediatek.com>
Mon, 23 Sep 2024 08:47:04 +0000 (16:47 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Nov 2024 20:25:35 +0000 (15:25 -0500)
commit489304e67087abddc2666c5af0159cb95afdcf59
tree68e36ffb379fff8cc52159a10073a64552850bcb
parentcea1805f165cdd783dd21f26df957118cb8641b4
Bluetooth: btusb: mediatek: add intf release flow when usb disconnect

MediaTek claim an special usb intr interface for ISO data transmission.
The interface need to be released before unregistering hci device when
usb disconnect. Removing BT usb dongle without properly releasing the
interface may cause Kernel panic while unregister hci device.

Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c