Re: [PATCH v3 1/3] Bluetooth: hci_h5: add WAKEUP_DISABLE flag

From: Marcel Holtmann
Date: Fri Jul 23 2021 - 08:12:11 EST


Hi Archie,

> Some RTL chips resets the FW on suspend, so wakeup is disabled on
> those chips. This patch introduces this WAKEUP_DISABLE flag so that
> chips that doesn't reset FW on suspend can leave the flag unset and
> is allowed to wake the host.
>
> This patch also left RTL8822 WAKEUP_DISABLE flag unset, therefore
> allowing it to wake the host, and preventing reprobing on resume.
>
> Signed-off-by: Archie Pusaka <apusaka@xxxxxxxxxxxx>
> Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@xxxxxxxxxxxx>
> Reviewed-by: Hilda Wu <hildawu@xxxxxxxxxxx>
>
> ---
>
> Changes in v3:
> * Rebasing
>
> Changes in v2:
> * Remove unnecessary variable
>
> drivers/bluetooth/hci_h5.c | 83 +++++++++++++++++++++++++++-----------
> 1 file changed, 59 insertions(+), 24 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel