Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: hci_qca: Reopen port after power on for QCA2066
@ 2026-10-15  9:22 Shuai Zhang
  2026-10-15 12:41 ` bluez.test.bot
  0 siblings, 1 reply; 2+ messages in thread
From: Shuai Zhang @ 2026-10-15  9:22 UTC (permalink / raw)
  To: Bartosz Golaszewski, Marcel Holtmann, Luiz Augusto von Dentz
  Cc: linux-arm-msm, linux-bluetooth, linux-kernel, chejiang,
	quic_chezhou, wei.deng, jinwang.li, mengshi.wu, Shuai Zhang

QCA2066 requires the serial port to be reopened after the controller
is powered on, otherwise the host and the device run into RTS/CTS
synchronization issues. Call the existing qca_port_reopen() helper
for QCA_QCA2066 in the default power-on path, leaving the behaviour
for other default-path controllers unchanged.

Signed-off-by: Shuai Zhang <shuai.zhang@oss.qualcomm.com>
---
 drivers/bluetooth/hci_qca.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 7089e9b63..c24f4e6c9 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -1873,6 +1873,12 @@ static int qca_power_on(struct hci_dev *hdev)
 			gpiod_set_value_cansleep(qcadev->bt_en, 1);
 			/* Controller needs time to bootup. */
 			msleep(150);
+
+			if (soc_type == QCA_QCA2066) {
+				ret = qca_port_reopen(hu);
+				if (ret)
+					break;
+			}
 		}
 	}
 
-- 
2.34.1


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

* RE: Bluetooth: hci_qca: Reopen port after power on for QCA2066
  2026-10-15  9:22 [PATCH] Bluetooth: hci_qca: Reopen port after power on for QCA2066 Shuai Zhang
@ 2026-10-15 12:41 ` bluez.test.bot
  0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2026-10-15 12:41 UTC (permalink / raw)
  To: linux-bluetooth, shuai.zhang

[-- Attachment #1: Type: text/plain, Size: 1019 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/series/1186314/

---Test result---

Test Summary:
CheckPatch                    PASS      0.54 seconds
VerifyFixes                   PASS      0.06 seconds
VerifySignedoff               PASS      0.06 seconds
GitLint                       PASS      0.20 seconds
SubjectPrefix                 PASS      0.05 seconds
BuildKernel                   PASS      30.55 seconds
CheckAllWarning               PASS      33.96 seconds
CheckSparse                   PASS      36.97 seconds
BuildKernel32                 PASS      29.89 seconds
CheckKernelLLVM               PASS      36.73 seconds
TestRunnerSetup               PASS      737.85 seconds
IncrementalBuild              PASS      29.41 seconds



https://github.com/bluez/bluetooth-next/pull/944

---
Regards,
Linux Bluetooth


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

end of thread, other threads:[~2026-10-15 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-15  9:22 [PATCH] Bluetooth: hci_qca: Reopen port after power on for QCA2066 Shuai Zhang
2026-10-15 12:41 ` bluez.test.bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox