From: Max Chou Date: Thu, 23 Jul 2020 10:47:42 +0000 (+0800) Subject: Bluetooth: Return NOTIFY_DONE for hci_suspend_notifier X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=24b065727ceba53cc5bec0e725672417154df24f;p=linux.git Bluetooth: Return NOTIFY_DONE for hci_suspend_notifier The original return is NOTIFY_STOP, but notifier_call_chain would stop the future call for register_pm_notifier even registered on other Kernel modules with the same priority which value is zero. Signed-off-by: Max Chou Signed-off-by: Marcel Holtmann --- diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 2891e16c1cc12..5394ab56c915a 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -3515,7 +3515,7 @@ done: bt_dev_err(hdev, "Suspend notifier action (%lu) failed: %d", action, ret); - return NOTIFY_STOP; + return NOTIFY_DONE; } /* Alloc HCI device */