Rafael J. Wysocki
6e7ecc7741
ACPI: scan: Fix device check notification handling
...
[ Upstream commit 793551c965116d9dfaf0550dacae1396a20efa69 ]
It is generally invalid to fail a Device Check notification if the scan
handler has not been attached to the given device after a bus rescan,
because there may be valid reasons for the scan handler to refuse
attaching to the device (for example, the device is not ready).
For this reason, modify acpi_scan_device_check() to return 0 in that
case without printing a warning.
While at it, reduce the log level of the "already enumerated" message
in the same function, because it is only interesting when debugging
notification handling
Fixes: 443fc82022 ("ACPI / hotplug: Rework generic code to handle suprise removals")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com >
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2024-03-26 18:19:35 -04:00
..
2023-07-10 18:49:16 +02:00
2024-02-05 20:14:15 +00:00
2023-09-01 09:53:54 -07:00
2022-09-28 17:26:25 +02:00
2023-10-22 12:47:43 +02:00
2024-02-05 20:14:15 +00:00
2023-01-30 16:47:13 +01:00
2023-06-01 08:45:04 -07:00
2023-08-25 20:55:47 +02:00
2023-07-14 18:58:34 +02:00
2018-10-16 10:03:00 +02:00
2023-03-20 18:04:58 +01:00
2023-08-17 20:01:24 +02:00
2021-07-16 19:20:28 +02:00
2020-11-17 18:12:34 +01:00
2024-02-05 20:14:15 +00:00
2023-06-12 19:28:20 +02:00
2023-11-28 17:20:03 +00:00
2022-03-25 18:01:40 +01:00
2019-05-30 11:26:41 -07:00
2024-01-25 15:35:14 -08:00
2024-01-25 15:35:15 -08:00
2023-08-21 13:37:48 -07:00
2023-06-12 19:25:55 +02:00
2022-11-23 19:06:56 +01:00
2023-07-04 19:28:20 +02:00
2023-01-17 12:52:11 +01:00
2023-10-11 14:27:37 +02:00
2023-08-17 20:01:24 +02:00
2024-02-05 20:14:15 +00:00
2020-11-17 18:06:29 +01:00
2023-07-14 18:58:34 +02:00
2022-04-22 16:55:33 +02:00
2021-06-07 15:36:45 +02:00
2023-10-18 13:26:30 +02:00
2023-06-26 17:20:28 +02:00
2022-06-20 20:33:05 +02:00
2023-03-17 19:06:23 +01:00
2021-04-28 19:17:54 +02:00
2020-09-25 18:25:51 +02:00
2023-12-03 07:33:07 +01:00
2023-11-20 11:59:03 +01:00
2021-12-17 18:45:51 +01:00
2021-12-01 20:19:30 +01:00
2023-11-28 17:19:38 +00:00
2021-06-29 15:51:25 +02:00
2020-11-09 19:25:20 +01:00
2022-12-06 12:44:14 +01:00
2022-11-23 19:31:57 +01:00
2022-05-25 15:37:07 +02:00
2023-01-10 20:23:48 +01:00
2023-07-14 18:58:34 +02:00
2023-08-25 20:49:52 +02:00
2022-12-30 19:12:30 +01:00
2023-10-18 13:11:04 +02:00
2023-08-22 10:39:26 +02:00
2023-08-01 13:59:25 +02:00
2021-06-29 15:51:25 +02:00
2022-08-25 20:18:17 +02:00
2023-06-01 08:45:00 -07:00
2022-11-26 12:57:18 +00:00
2022-07-27 21:21:27 +02:00
2022-07-14 15:25:36 -05:00
2023-01-05 13:31:27 -08:00
2020-09-25 18:25:51 +02:00
2023-02-09 16:51:39 -08:00
2022-12-12 18:29:54 -08:00
2021-08-16 18:32:02 +02:00
2023-04-27 18:44:43 +02:00
2023-03-14 20:34:38 +01:00
2023-08-22 10:39:26 +02:00
2022-01-22 08:33:37 +02:00
2023-08-17 18:39:28 +02:00
2023-03-22 15:20:38 +01:00
2024-03-26 18:19:30 -04:00
2023-09-18 12:16:16 +02:00
2022-12-30 19:10:02 +01:00
2023-03-22 15:20:38 +01:00
2022-10-28 19:02:45 +02:00
2024-01-25 15:35:51 -08:00
2021-06-07 15:36:46 +02:00
2024-03-26 18:19:35 -04:00
2023-03-30 19:01:05 +02:00
2022-11-23 19:11:22 +01:00
2020-11-09 19:08:06 +01:00
2024-03-26 18:19:35 -04:00
2023-06-26 16:54:10 +02:00
2022-09-09 17:37:40 +02:00
2023-03-27 20:50:28 +02:00
2023-03-27 20:43:58 +02:00
2023-06-01 08:44:59 -07:00
2024-01-10 17:16:55 +01:00
2023-06-16 19:48:09 +02:00
2022-10-03 20:09:22 +02:00
2023-11-20 11:58:59 +01:00
2023-03-30 19:20:42 +02:00
2020-11-09 19:08:06 +01:00