Re: [PATCH v1] Bluetooth: hci_qca: Wait for timeout during suspend

From: Abhishek Pandit-Subedi
Date: Tue Oct 06 2020 - 17:52:46 EST


Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@xxxxxxxxxxxx>

On Tue, Oct 6, 2020 at 8:20 AM Balakrishna Godavarthi
<bgodavar@xxxxxxxxxxxxxx> wrote:
>
> From: Venkata Lakshmi Narayana Gubba <gubbaven@xxxxxxxxxxxxxx>
>
> Currently qca_suspend() is relied on IBS mechanism. During
> FW download and memory dump collections, IBS will be disabled.
> In those cases, driver will allow suspend and still uses the
> serdev port, which results to errors. Now added a wait timeout
> if suspend is triggered during FW download and memory collections.
>
> Signed-off-by: Venkata Lakshmi Narayana Gubba <gubbaven@xxxxxxxxxxxxxx>
> Signed-off-by: Balakrishna Godavarthi <bgodavar@xxxxxxxxxxxxxx>