Skip to content

Bluetooth: btusb: Mediatek ISO interface claim/release adjustment

Chris Lu linux-bluetooth linux-mediatek lkml 3 versions – Applied

Status from this message: This series was applied to bluetooth/bluetooth-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesApplied 4/4
  2. v24 patches 2 repliesSuperseded
  3. v14 patches 0 repliesSuperseded 2 of 4 applied

Patches in v3 All 4 applied

#Subject and filesSizeRepliesApplied
1/4Bluetooth: btusb: mediatek: move Bluetooth power off command positiondrivers/bluetooth/btusb.c+4 -10 repliesApplied
2/4Bluetooth: btusb: mediatek: add callback function in btusb_disconnectdrivers/bluetooth/btusb.c+4 -00 repliesApplied
3/4Bluetooth: btusb: mediatek: add intf release flow when usb disconnectdrivers/bluetooth/btusb.c+15 -50 repliesApplied
4/4Bluetooth: btusb: mediatek: change the conditions for ISO interfacedrivers/bluetooth/btusb.c+8 -80 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] Bluetooth: btusb: Mediatek ISO interface claim/release adjustment

MediaTek performs some test on the platform which can support LE audio and ISO data transmission with kernel driver. We found the additional interface claim and release flow issue need some adjustment.

These patches mainly add a callback function within the usb_disconnect function to prevent a kernel panic caused by interfaces not being released when the BT USB dongle is physically removed. Additionally, the condition for claiming/releasing ISO usb interface have also been adjusted to make driver works as expected.

---
v2: fix commit message typo and over maximum chars per line warning.
v3: [patch 3/4] add new function btusb_mtk_disconnect for releasing MediaTek
ISO interface
[patch 4/4] remove redundant condition statements
---

Chris Lu (4):
Bluetooth: btusb: mediatek: move Bluetooth power off command position
Bluetooth: btusb: mediatek: add callback function in btusb_disconnect
Bluetooth: btusb: mediatek: add intf release flow when usb disconnect
Bluetooth: btusb: mediatek: change the conditions for ISO interface

 drivers/bluetooth/btusb.c | 41 +++++++++++++++++++++++++++------------
 1 file changed, 29 insertions(+), 12 deletions(-)
Signature · 1 line
2.18.0