Commit 243a9889 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

ACPI: PM: s2idle: Fix comment in acpi_s2idle_prepare_late()

Fix a comment in acpi_s2idle_prepare_late() that has become outdated
after commit f0ac20c3 ("ACPI: EC: Fix flushing of pending work").

Fixes: f0ac20c3 ("ACPI: EC: Fix flushing of pending work")
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent fb33c651
......@@ -982,10 +982,7 @@ static int acpi_s2idle_prepare_late(void)
static void acpi_s2idle_sync(void)
{
/*
* The EC driver uses the system workqueue and an additional special
* one, so those need to be flushed too.
*/
/* The EC driver uses special workqueues that need to be flushed. */
acpi_ec_flush_work();
acpi_os_wait_events_complete(); /* synchronize Notify handling */
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment