From patchwork Fri May 8 12:36:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 226203 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A81CC38A2A for ; Fri, 8 May 2020 12:56:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 72CCF2054F for ; Fri, 8 May 2020 12:56:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588942570; bh=UMbNeAzVD4RlNGqFhkHtIRN6vWzT1o2zrOI16auknhE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=J2uWZhmPV1RVnkH1t5jWcUMvwAhsXVp0/Th2HnCRpDxh6lGVT2CDVZa4pBrzmAczB OaaU2XnPSfc+lDmiAooNqImfNzvjTYJGc66q9mnH+13S1Ytg2mT+Se1K3CjAJdrzfy XmlJfFc2b553ZnuohBXBNCdMqoKMMlMiq7zlA08A= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730156AbgEHM4J (ORCPT ); Fri, 8 May 2020 08:56:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:39454 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730399AbgEHM4H (ORCPT ); Fri, 8 May 2020 08:56:07 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EDA122054F; Fri, 8 May 2020 12:56:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588942567; bh=UMbNeAzVD4RlNGqFhkHtIRN6vWzT1o2zrOI16auknhE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MoAlC5SHtJLsZhhovvdLvR6au3OlcuWThH+yT2UDvIoFuzkDFLEaCPLxzE6XQ2EuV LfrQvPYhAJZxa0FQQABtYaPhuq4PltE+IFF4ySiyVkEchCHLref4ZrqNKKgXomKXbN ePdbse2KmoE8pJp3AOlVkXQt4x9xV2hzCwlBYKPw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "Rafael J. Wysocki" Subject: [PATCH 5.6 46/49] ACPI: PM: s2idle: Fix comment in acpi_s2idle_prepare_late() Date: Fri, 8 May 2020 14:36:03 +0200 Message-Id: <20200508123049.245893715@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200508123042.775047422@linuxfoundation.org> References: <20200508123042.775047422@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Rafael J. Wysocki commit 243a98894dc525ad2fbeb608722fcb682be3186d upstream. 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 Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/sleep.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) --- 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 */ }