[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BYAPR02MB4839DEB37CF4094145A74D8FE1E0A@BYAPR02MB4839.namprd02.prod.outlook.com>
Date: Mon, 28 Aug 2023 06:11:34 +0000
From: Rocky Liao <rjliao@....qualcomm.com>
To: "Rocky Liao (QUIC)" <quic_rjliao@...cinc.com>,
"marcel@...tmann.org" <marcel@...tmann.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-bluetooth@...r.kernel.org" <linux-bluetooth@...r.kernel.org>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>
Subject: RE: [PATCH v1] Bluetooth: btusb: add shutdown function for QCA6174
Hi Maintainers,
Could you please help to merge this patch?
Thanks,
Rocky
-----Original Message-----
From: Rocky Liao (QUIC) <quic_rjliao@...cinc.com>
Sent: Monday, August 7, 2023 2:46 PM
To: marcel@...tmann.org
Cc: linux-kernel@...r.kernel.org; linux-bluetooth@...r.kernel.org; linux-arm-msm@...r.kernel.org; Rocky Liao (QUIC) <quic_rjliao@...cinc.com>
Subject: [PATCH v1] Bluetooth: btusb: add shutdown function for QCA6174
We should send hci reset command before bt turn off, which can reset bt firmware status.
Signed-off-by: Rocky Liao <quic_rjliao@...cinc.com>
---
drivers/bluetooth/btusb.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 1bb3b09013b0..ac4d8cf831df 100644
--- 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);
--
2.38.1.windows.1
Powered by blists - more mailing lists