Re: [PATCH v3] Bluetooth: btusb: Fix suspend issue for Realtek devices
From: Marcel Holtmann
Date: Wed Aug 14 2019 - 09:53:43 EST
Hi Alex,
> From the perspective of controller, global suspend means there is no
> SET_FEATURE (DEVICE_REMOTE_WAKEUP) and controller would drop the
> firmware. It would consume less power. So we should not send this kind
> of SET_FEATURE when host goes to suspend state.
> Otherwise, when making device enter selective suspend, host should send
> SET_FEATURE to make sure the firmware remains.
>
> Signed-off-by: Alex Lu <alex_lu@xxxxxxxxxxxxxx>
> ---
> Changes in v3:
> - Change to fit for bluetooth-next
> Changes in v2:
> - Change flag to be more descriptive
> - Delete pointless #ifdef CONFIG_BT_HCIBTUSB_RTL and #endif
>
> drivers/bluetooth/btusb.c | 34 ++++++++++++++++++++++++++++++----
> 1 file changed, 30 insertions(+), 4 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel