1. 05 Mar, 2022 36 commits
  2. 04 Mar, 2022 4 commits
    • Helmut Grohne's avatar
      Bluetooth: btusb: Add another Realtek 8761BU · 6dfbe29f
      Helmut Grohne authored
      This device is sometimes wrapped with a label "EDUP".
      
      T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=03 Dev#=107 Spd=12   MxCh= 0
      D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=2550 ProdID=8761 Rev= 2.00
      S:  Manufacturer=Realtek
      S:  Product=Bluetooth Radio
      S:  SerialNumber=00E04C239987
      C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
      I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      Signed-off-by: default avatarHelmut Grohne <helmut@subdivi.de>
      Link: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1955351Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      6dfbe29f
    • Luca Weiss's avatar
      Bluetooth: hci_bcm: add BCM43430A0 & BCM43430A1 · 01da346c
      Luca Weiss authored
      Add the compatible for BCM43430A0 bluetooth used in lg-lenok and
      BCM43430A1 used in asus-sparrow.
      Signed-off-by: default avatarLuca Weiss <luca@z3ntu.xyz>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      01da346c
    • Minghao Chi (CGEL ZTE)'s avatar
      Bluetooth: use memset avoid memory leaks · d3715b23
      Minghao Chi (CGEL ZTE) authored
      Use memset to initialize structs to prevent memory leaks
      in l2cap_ecred_connect
      Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
      Signed-off-by: default avatarMinghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      d3715b23
    • Yake Yang's avatar
      Bluetooth: btmtksdio: Fix kernel oops when sdio suspend. · eb3f0517
      Yake Yang authored
      Do not kfree the skb when the skb failed to send with __hci_cmd_sync
      
      2435.241210] Call trace:
      [ 2435.241224]  kfree_skb+0x20/0x140
      [ 2435.241240]  btmtksdio_sdio_wakeup+0x8c/0xcc
      [ 2435.241360]  hci_suspend_notifier+0x108/0x184
      [ 2435.241377]  notifier_call_chain_robust+0x58/0xd8
      [ 2435.241390]  blocking_notifier_call_chain_robust+0x54/0x84
      [ 2435.241402]  pm_notifier_call_chain_robust+0x2c/0x4c
      [ 2435.241414]  suspend_prepare+0x40/0x238
      [ 2435.241425]  enter_state+0xec/0x3a8
      [ 2435.241436]  pm_suspend+0x60/0xcc
      [ 2435.241446]  state_store+0xb8/0x114
      [ 2435.241460]  kobj_attr_store+0x18/0x2c
      [ 2435.241473]  sysfs_kf_write+0x44/0x58
      [ 2435.241486]  kernfs_fop_write_iter+0xf4/0x190
      [ 2435.241500]  vfs_write+0x2b0/0x2e4
      [ 2435.241511]  ksys_write+0x80/0xec
      [ 2435.241523]  __arm64_sys_write+0x24/0x30
      [ 2435.241538]  el0_svc_common+0xf0/0x1d8
      [ 2435.241550]  do_el0_svc_compat+0x28/0x54
      [ 2435.241564]  el0_svc_compat+0x10/0x1c
      [ 2435.241574]  el0_sync_compat_handler+0xa8/0xcc
      [ 2435.241586]  el0_sync_compat+0x188/0x1c0
      [ 2435.241606] Code: a9014ff4 910003fd b40002c0 aa0003f3 (b84d4c08)
      [ 2435.241619] ---[ end trace d496539b850baf14 ]---
      
      Fixes: ce64b3e9  ("Bluetooth: mt7921s: Support wake on bluetooth")
      Co-developed-by: default avatarSean Wang <sean.wang@mediatek.com>
      Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
      Signed-off-by: default avatarYake Yang <yake.yang@mediatek.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      eb3f0517