diff options
| author | Abhishek Pandit-Subedi <[email protected]> | 2020-09-09 23:53:59 +0000 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2020-09-11 07:05:08 +0000 |
| commit | 3eec158d5eca7dd455118d9e00568aad2371219f (patch) | |
| tree | 8001b147955c90b32512e2f1733468895b856c98 /net/bluetooth/hci_request.c | |
| parent | Bluetooth: hci_intel: enable on new platform (diff) | |
| download | kernel-3eec158d5eca7dd455118d9e00568aad2371219f.tar.gz kernel-3eec158d5eca7dd455118d9e00568aad2371219f.zip | |
Bluetooth: Re-order clearing suspend tasks
Unregister_pm_notifier is a blocking call so suspend tasks should be
cleared beforehand. Otherwise, the notifier will wait for completion
before returning (and we encounter a 2s timeout on resume).
Fixes: 0e9952804ec9c8 (Bluetooth: Clear suspend tasks on unregister)
Signed-off-by: Abhishek Pandit-Subedi <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'net/bluetooth/hci_request.c')
0 files changed, 0 insertions, 0 deletions
