Bluetooth: Return NOTIFY_DONE for hci_suspend_notifier
authorMax Chou <max.chou@realtek.com>
Thu, 23 Jul 2020 10:47:42 +0000 (18:47 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Sep 2020 17:14:26 +0000 (19:14 +0200)
commit98f0b4072c943e3b9f538792893907ccd3c523d0
treea3857883ea41978e4114327edc63d2c41e2e2f97
parent434ed4233877ce6a74fc9269d168a6b780b4173d
Bluetooth: Return NOTIFY_DONE for hci_suspend_notifier

[ Upstream commit 24b065727ceba53cc5bec0e725672417154df24f ]

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 <max.chou@realtek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/hci_core.c