summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-03-20 17:07:29 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-03-22 09:59:00 +0300
commit243a98894dc525ad2fbeb608722fcb682be3186d (patch)
tree2bdec611df016486cbc64c718dceedf590e46e4a /drivers/acpi
parentfb33c6510d5595144d585aa194d377cf74d31911 (diff)
downloadlinux-243a98894dc525ad2fbeb608722fcb682be3186d.tar.xz
ACPI: PM: s2idle: Fix comment in acpi_s2idle_prepare_late()
Fix a comment in acpi_s2idle_prepare_late() that has become outdated after commit f0ac20c3f613 ("ACPI: EC: Fix flushing of pending work"). Fixes: f0ac20c3f613 ("ACPI: EC: Fix flushing of pending work") Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/sleep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index e5f95922bc21..22b8af33e15f 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -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 */
}