Unverified Commit 54d9985f authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!8682 ACPI: bus: Ensure that notify handlers are not running after removal

parents d7e04f27 ed63902e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -477,6 +477,8 @@ static void acpi_device_remove_notify_handler(struct acpi_device *device)
	else
		acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY,
					   acpi_device_notify);

	acpi_os_wait_events_complete();
}

/* Handle events targeting \_SB device (at present only graceful shutdown) */