]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: Fix suspend issue for Realtek devices
authorAlex Lu <alex_lu@realsil.com.cn>
Wed, 14 Aug 2019 12:02:52 +0000 (20:02 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 5 Sep 2019 15:27:21 +0000 (17:27 +0200)
commit5ab64a76d92fd6209ccf1fd6cff1f870957d4882
tree77e95495f374674a981d5d23a8f1a9c9b28a6c87
parentbd402454d218c1d5e0aac72c415c7859e7c08414
Bluetooth: btusb: Fix suspend issue for Realtek devices

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@realsil.com.cn>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c