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