[PATCH v4 0/4] Bluetooth: qca: Power off WCN3950 safely
From: Michael McAllister
Date: Thu Nov 26 2026 - 14:00:08 EST
Hi,
On my Moto G10, turning Bluetooth off leaves its four regulator votes
enabled. This series adds the missing WCN3950 power-off handling and fixes
the UART teardown ordering needed to send the pulse safely.
I've split the unregister/TX fix out as requested and rebased these four
patches onto the current Bluetooth tree, including Zhao's flush and close
changes. This series depends on that standalone fix.
Tested as a module backport on my Moto G10 running 7.2.9: six Bluetooth
off/on cycles and driver unbind/rebind with Bluetooth both off and on.
The four regulator votes dropped to zero on every power-off, and Bluetooth
came back on each time. One firmware download needed a retry and recovered;
the original driver also needed retries in the same six-cycle test.
Thanks,
Michael
Changes in v4:
- Submit the unregister/TX fix separately from this series.
- Rebase onto f57f78086ab5, retaining the merged flush and close fixes.
- Move controller TX flushing into the standalone unregister fix.
- The separate Marvell prerequisite from v3 is now upstream.
v3: https://lore.kernel.org/179484638195.54009.1916641645532262287.wcn3950-poweroff-v3-0@xxxxxxxxxxxxxxxxxxxxx/
Michael McAllister (4):
Bluetooth: hci_serdev: Track whether the serial port is open
Bluetooth: qca: Power off after unregistering the HCI device
Bluetooth: qca: Handle failed power-pulse writes
Bluetooth: qca: Power off WCN3950
drivers/bluetooth/hci_qca.c | 34 +++++++++-----------------------
drivers/bluetooth/hci_serdev.c | 36 +++++++++++++++++++++++++++-------
drivers/bluetooth/hci_uart.h | 3 +++
3 files changed, 41 insertions(+), 32 deletions(-)
base-commit: f57f78086ab54f3b3122fbaeba2c842ba7bb6d00
prerequisite-patch-id: 4f7b2f10b0911886f60ec40656c453138c3570f0
--
2.39.5