commit | 3eec158d5eca7dd455118d9e00568aad2371219f | [log] [tgz] |
---|---|---|
author | Abhishek Pandit-Subedi <abhishekpandit@chromium.org> | Wed Sep 09 16:53:59 2020 -0700 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Sep 11 09:05:08 2020 +0200 |
tree | 8001b147955c90b32512e2f1733468895b856c98 | |
parent | c6db014381bd85038ed3dfdea7d1367bfd4584a8 [diff] |
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 <abhishekpandit@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>