Re: [PATCH v2] Bluetooth: Shutdown controller after workqueues are flushed or cancelled
From: Hsin-Yi Wang
Date: Thu Aug 05 2021 - 03:04:41 EST
On Thu, Aug 5, 2021 at 3:01 PM Hillf Danton <hdanton@xxxxxxxx> wrote:
>
> On Thu, 5 Aug 2021 14:12:10 +0800 Hsin-Yi Wang wrote:
> >
> >The original patch 60789afc02f592b8d91217b60930e7a76271ae07
> >("Bluetooth: Shutdown controller after workqueues are flushed or
> >cancelled") is causing the tx fail when downloading fw on mediatek
> >mt8183 device using QCA bluetooth:
>
> Want to know if reverting 60789afc02f59 is a cure.
Reverting 60789afc02f592b8d91217b60930e7a76271ae07 can also fixed the issue.
>
> >
> >[ 225.205061] Bluetooth: qca_download_firmware() hci0: QCA
> >Downloading qca/rampatch_00440302.bin
> >[ 227.252653] Bluetooth: hci_cmd_timeout() hci0: command 0xfc00 tx timeout
> >...
> >follows by a lot of:
> >[ 223.604971] Bluetooth: qca_recv() hci0: Frame reassembly failed (-84)
> >[ 223.605027] Bluetooth: qca_recv() hci0: Frame reassembly failed (-84)
> >
> >After applying the fixup to allow tx, the issue is solved.
>
> Feel free to specify the fixup and its link to 60789afc02f59.
The fixup is pasted by Kai-Heng here:
https://lkml.org/lkml/2021/8/3/103