diff options
author | Abhishek Pandit-Subedi <abhishekpandit@chromium.org> | 2020-08-31 19:51:27 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-09-01 14:22:41 +0300 |
commit | 0e9952804ec9c8ba60f131225eab80634339f042 (patch) | |
tree | c27d8c61907fbb59fd327c9f9942509f4509cbb3 /drivers/bluetooth/hci_intel.c | |
parent | d33fe77bdf75806d785dabf90d21d962122e5296 (diff) | |
download | linux-0e9952804ec9c8ba60f131225eab80634339f042.tar.xz |
Bluetooth: Clear suspend tasks on unregister
While unregistering, make sure to clear the suspend tasks before
cancelling the work. If the unregister is called during resume from
suspend, this will unnecessarily add 2s to the resume time otherwise.
Fixes: 4e8c36c3b0d73d (Bluetooth: Fix suspend notifier race)
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_intel.c')
0 files changed, 0 insertions, 0 deletions