]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: BTUSB_WAKEUP_DISABLE prevents wake
authorAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
Wed, 24 Jun 2020 18:24:30 +0000 (11:24 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 24 Jun 2020 18:28:32 +0000 (20:28 +0200)
commitd713caa5b22823ab06cc56c65681dc78191669d9
treed364a54ac65e782e56cb685862647deabaa9421d
parent72174052a6d182fbbfa783a8d9a541ad05b4ab2d
Bluetooth: btusb: BTUSB_WAKEUP_DISABLE prevents wake

When the BTUSB_WAKEUP_DISABLE flag is set, always return true for
prevent wake. This tells the suspend notifier not to prepare the
controller for reconnections during suspend.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c