Re: [PATCH] Bluetooth: Allow suspend even when preparation has failed

2020-06-04 Thread Abhishek Pandit-Subedi
Sent a v2 with proper fixes and reported-by tags. Thanks Abhishek On Thu, Jun 4, 2020 at 3:46 AM Rafael J. Wysocki wrote: > > On Wed, Jun 3, 2020 at 10:22 PM Abhishek Pandit-Subedi > wrote: > > > > It is preferable to allow suspend even when Bluetooth has problems > > preparing for sleep. When

Re: [PATCH] Bluetooth: Allow suspend even when preparation has failed

2020-06-04 Thread Rafael J. Wysocki
On Wed, Jun 3, 2020 at 10:22 PM Abhishek Pandit-Subedi wrote: > > It is preferable to allow suspend even when Bluetooth has problems > preparing for sleep. When Bluetooth fails to finish preparing for > suspend, log the error and allow the suspend notifier to continue > instead. > > To also make i

[PATCH] Bluetooth: Allow suspend even when preparation has failed

2020-06-03 Thread Abhishek Pandit-Subedi
It is preferable to allow suspend even when Bluetooth has problems preparing for sleep. When Bluetooth fails to finish preparing for suspend, log the error and allow the suspend notifier to continue instead. To also make it clearer why suspend failed, change bt_dev_dbg to bt_dev_err when handling