Message ID | 5688433.DvuYhMxLoT@kreacher |
---|---|
State | New |
Headers | show |
Series | [v1] ACPI: bus: Ensure that notify handlers are not running after removal | expand |
Index: linux-pm/drivers/acpi/bus.c =================================================================== --- linux-pm.orig/drivers/acpi/bus.c +++ linux-pm/drivers/acpi/bus.c @@ -589,6 +589,7 @@ static void acpi_device_remove_notify_ha acpi_remove_notify_handler(device->handle, type, acpi_notify_device); } + acpi_os_wait_events_complete(); } /* Handle events targeting \_SB device (at present only graceful shutdown) */