[PATCH v3 0/1] Bluetooth: hci_qca: Cleanup on all setup failures

From: Jinwang Li
Date: Mon Jan 05 2026 - 09:17:48 EST


The setup process previously combined error handling and retry gating
under one condition. As a result, the final failed attempt exited
without performing cleanup.

Update the failure path to always perform power and port cleanup on
setup failure, and reopen the port only when retrying.

changes v3:
- Update git name.
- Link to v2
https://lore.kernel.org/all/20251226102707.3449789-1-jinwang.li@xxxxxxxxxxxxxxxx/

changes v2:
- Only reopen the serdev port when retrying.
- Return on the final failure.
- Update commit.
- Link to v1
https://lore.kernel.org/all/20251222123824.3000167-1-jinwang.li@xxxxxxxxxxxxxxxx/

Jinwang Li (1):
Bluetooth: hci_qca: Cleanup on all setup failures

drivers/bluetooth/hci_qca.c | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)

--
2.34.1