On Mon, Jan 05, 2026 at 10:14:26PM +0800, Jinwang Li wrote:
> 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.
There is no need to send cover letter for one-patch series. Please
update internal guidelines.
>
> changes v3:
> - Update git name.
> - Link to v2
> https://lore.kernel.org/all/20251226102707.3449789-1-jinwang.li@oss.qualcomm.com/
>
> 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@oss.qualcomm.com/
>
> 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
>
--
With best wishes
Dmitry