All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] Bluetooth: btusb: add shutdown function for QCA6174
@ 2023-08-07  6:46 Rocky Liao
  2023-08-07  7:35 ` [v1] " bluez.test.bot
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rocky Liao @ 2023-08-07  6:46 UTC (permalink / raw)
  To: marcel; +Cc: linux-kernel, linux-bluetooth, linux-arm-msm, Rocky Liao

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>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [v1] Bluetooth: btusb: add shutdown function for QCA6174
  2023-08-07  6:46 [PATCH v1] Bluetooth: btusb: add shutdown function for QCA6174 Rocky Liao
@ 2023-08-07  7:35 ` bluez.test.bot
  2023-08-28  6:11 ` [PATCH v1] " Rocky Liao
  2023-08-28 21:30 ` patchwork-bot+bluetooth
  2 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2023-08-07  7:35 UTC (permalink / raw)
  To: linux-bluetooth, quic_rjliao

[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=773521

---Test result---

Test Summary:
CheckPatch                    PASS      0.69 seconds
GitLint                       PASS      0.34 seconds
SubjectPrefix                 PASS      0.13 seconds
BuildKernel                   PASS      32.81 seconds
CheckAllWarning               PASS      37.48 seconds
CheckSparse                   PASS      41.82 seconds
CheckSmatch                   PASS      115.30 seconds
BuildKernel32                 PASS      32.91 seconds
TestRunnerSetup               PASS      491.93 seconds
TestRunner_l2cap-tester       PASS      22.64 seconds
TestRunner_iso-tester         PASS      45.30 seconds
TestRunner_bnep-tester        PASS      10.06 seconds
TestRunner_mgmt-tester        PASS      211.85 seconds
TestRunner_rfcomm-tester      PASS      15.51 seconds
TestRunner_sco-tester         PASS      18.68 seconds
TestRunner_ioctl-tester       PASS      17.34 seconds
TestRunner_mesh-tester        PASS      12.66 seconds
TestRunner_smp-tester         PASS      13.71 seconds
TestRunner_userchan-tester    PASS      10.93 seconds
IncrementalBuild              PASS      31.13 seconds



---
Regards,
Linux Bluetooth


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH v1] Bluetooth: btusb: add shutdown function for QCA6174
  2023-08-07  6:46 [PATCH v1] Bluetooth: btusb: add shutdown function for QCA6174 Rocky Liao
  2023-08-07  7:35 ` [v1] " bluez.test.bot
@ 2023-08-28  6:11 ` Rocky Liao
  2023-08-28 21:30 ` patchwork-bot+bluetooth
  2 siblings, 0 replies; 4+ messages in thread
From: Rocky Liao @ 2023-08-28  6:11 UTC (permalink / raw)
  To: Rocky Liao (QUIC), marcel@holtmann.org
  Cc: linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org,
	linux-arm-msm@vger.kernel.org

Hi Maintainers,

Could you please help to merge this patch?

Thanks,
Rocky
-----Original Message-----
From: Rocky Liao (QUIC) <quic_rjliao@quicinc.com> 
Sent: Monday, August 7, 2023 2:46 PM
To: marcel@holtmann.org
Cc: linux-kernel@vger.kernel.org; linux-bluetooth@vger.kernel.org; linux-arm-msm@vger.kernel.org; Rocky Liao (QUIC) <quic_rjliao@quicinc.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@quicinc.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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v1] Bluetooth: btusb: add shutdown function for QCA6174
  2023-08-07  6:46 [PATCH v1] Bluetooth: btusb: add shutdown function for QCA6174 Rocky Liao
  2023-08-07  7:35 ` [v1] " bluez.test.bot
  2023-08-28  6:11 ` [PATCH v1] " Rocky Liao
@ 2023-08-28 21:30 ` patchwork-bot+bluetooth
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+bluetooth @ 2023-08-28 21:30 UTC (permalink / raw)
  To: Rocky Liao; +Cc: marcel, linux-kernel, linux-bluetooth, linux-arm-msm

Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Mon, 7 Aug 2023 14:46:26 +0800 you wrote:
> 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>
> ---
>  drivers/bluetooth/btusb.c | 1 +
>  1 file changed, 1 insertion(+)

Here is the summary with links:
  - [v1] Bluetooth: btusb: add shutdown function for QCA6174
    https://git.kernel.org/bluetooth/bluetooth-next/c/75d095daab9f

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-28 21:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-07  6:46 [PATCH v1] Bluetooth: btusb: add shutdown function for QCA6174 Rocky Liao
2023-08-07  7:35 ` [v1] " bluez.test.bot
2023-08-28  6:11 ` [PATCH v1] " Rocky Liao
2023-08-28 21:30 ` patchwork-bot+bluetooth

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.