Re: [PATCH v4 0/2] Bluetooth: hci_qca: Reopen the UART after enabling QCA2066

From: Bartosz Golaszewski

Date: Tue Nov 10 2026 - 09:00:01 EST


On Tue, Nov 10, 2026 at 05:29:27PM +0800, Shuai Zhang wrote:
> QCA2066 does not reopen the UART after the controller is enabled, which
> causes RX/TX out-of-sync errors. The UART has to be reopened once the
> controller is powered on.
>
> qca_regulator_init() already enables the controller and then reopens the
> UART, but QCA2066 does not go through it. QCA2066 was added with its own
> SoC type and handled in the default case.
>
> Let QCA2066 go through qca_regulator_init() as well, and handle it in the
> other places that check the SoC type in the same way.
>
> Patch 1 reopens the UART after enabling QCA2066.
>
> Patch 2 keeps HCI_UART_PROTO_READY in sync with the port state, so that a
> port which failed to reopen is not closed or flushed again.
>

Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>