Yang Yingliang
66324c5eb5
Bluetooth: hci_core: fix error handling in hci_register_dev()
...
[ Upstream commit 0d75da38e060d21f948b3df5f5e349c962cf1ed2 ]
If hci_register_suspend_notifier() returns error, the hdev and rfkill
are leaked. We could disregard the error and print a warning message
instead to avoid leaks, as it just means we won't be handing suspend
requests.
Fixes: 9952d90ea288 ("Bluetooth: Handle PM_SUSPEND_PREPARE and PM_POST_SUSPEND")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:28 +01:00
..
2022-06-09 21:53:28 +02:00
2022-11-29 09:52:10 -08:00
2022-10-11 17:42:55 -06:00
2022-08-25 10:33:21 +02:00
2022-04-06 13:45:26 +01:00
2022-10-15 11:08:36 +01:00
2022-08-22 17:55:50 -07:00
2022-09-22 13:02:10 -07:00
2022-12-31 13:32:28 +01:00
2022-12-31 13:32:14 +01:00
2022-02-25 09:36:06 +01:00
2022-11-15 13:38:11 +01:00
2022-11-14 10:51:13 +00:00
2022-12-07 10:30:47 +01:00
2022-10-16 15:27:07 -07:00
2022-12-31 13:32:22 +01:00
2022-03-03 08:01:55 -08:00
2022-11-22 20:15:37 -08:00
2022-12-02 20:46:52 -08:00
2022-08-25 10:33:21 +02:00
2022-10-24 19:08:07 -07:00
2022-12-31 13:32:22 +01:00
2022-10-07 09:29:17 +02:00
2022-12-31 13:32:27 +01:00
2022-12-31 13:32:27 +01:00
2022-06-10 16:21:27 -07:00
2022-11-15 12:42:26 +01:00
2022-11-22 07:14:55 +01:00
2022-11-23 12:45:19 +00:00
2022-04-15 14:27:24 -07:00
2022-06-09 21:52:55 -07:00
2022-12-31 13:32:20 +01:00
2022-12-05 09:53:08 +01:00
2022-11-09 19:26:08 -08:00
2022-08-29 13:02:27 +01:00
2022-11-28 18:03:07 -08:00
2022-08-29 12:47:15 +01:00
2022-12-31 13:32:26 +01:00
2022-08-29 12:47:15 +01:00
2022-10-27 08:20:21 -07:00
2022-04-06 13:45:26 +01:00
2022-12-05 17:46:25 -08:00
2022-11-18 15:21:00 +01:00
2022-11-29 08:30:18 -08:00
2022-04-12 15:00:25 +02:00
2022-08-29 12:47:15 +01:00
2022-08-15 11:21:42 +01:00
2022-10-11 17:42:58 -06:00
2022-03-18 13:09:17 +02:00
2022-11-02 11:57:30 +00:00
2022-12-31 13:32:09 +01:00
2022-11-22 12:16:55 +01:00
2022-12-31 13:32:28 +01:00
2022-11-02 20:42:09 -07:00
2022-07-08 18:38:44 -07:00
2022-12-31 13:32:23 +01:00
2022-06-09 21:52:55 -07:00
2022-12-07 11:32:04 +01:00
2022-12-31 13:32:20 +01:00
2022-12-31 13:32:27 +01:00
2022-12-31 13:32:26 +01:00
2022-12-31 13:32:20 +01:00
2022-11-15 20:22:19 -08:00
2022-10-03 17:44:18 -07:00
2022-11-23 19:18:59 -08:00
2022-09-20 08:23:20 -07:00
2022-08-22 14:26:30 +01:00
2022-09-20 14:23:56 -07:00
2022-08-22 14:26:30 +01:00
2022-10-06 16:55:41 -07:00
2021-11-09 10:02:50 -08:00