projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbaabbc
)
Bluetooth: btusb: add shutdown function for QCA6174
author
Rocky Liao
<quic_rjliao@quicinc.com>
Mon, 7 Aug 2023 06:46:26 +0000
(14:46 +0800)
committer
Luiz Augusto von Dentz
<luiz.von.dentz@intel.com>
Wed, 20 Sep 2023 17:55:29 +0000
(10:55 -0700)
We should send hci reset command before bt turn off, which can reset bt
firmware status.
Signed-off-by: Rocky Liao <quic_rjliao@quicinc.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/btusb.c
b/drivers/bluetooth/btusb.c
index 82597ab4f747bb6fd0796bf1ab2a781962677ac4..499f4809fcdf3d507dfe33399483762569c8c725 100644
(file)
--- a/
drivers/bluetooth/btusb.c
+++ b/
drivers/bluetooth/btusb.c
@@
-4419,6
+4419,7
@@
static int btusb_probe(struct usb_interface *intf,
if (id->driver_info & BTUSB_QCA_ROME) {
data->setup_on_usb = btusb_setup_qca;
+ hdev->shutdown = btusb_shutdown_qca;
hdev->set_bdaddr = btusb_set_bdaddr_ath3012;
hdev->cmd_timeout = btusb_qca_cmd_timeout;
set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);