]> asedeno.scripts.mit.edu Git - linux.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)
commit9e45524a011107a73bc2cdde8370c61e82e93a4d
tree77e95495f374674a981d5d23a8f1a9c9b28a6c87
parentff7c8380c9d36252a6b977cf9c7f8b75abfb8719
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