From patchwork Thu Aug 4 07:55:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jinyoung CHOI X-Patchwork-Id: 596014 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC1DBC19F2B for ; Thu, 4 Aug 2022 07:56:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239417AbiHDH4p (ORCPT ); Thu, 4 Aug 2022 03:56:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239485AbiHDH4Q (ORCPT ); Thu, 4 Aug 2022 03:56:16 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AC416583C for ; Thu, 4 Aug 2022 00:56:02 -0700 (PDT) Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220804075600epoutp047091e7a4c18aed2e0226eb719b14a17f~IFTCE3-JM2473924739epoutp04D for ; Thu, 4 Aug 2022 07:56:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220804075600epoutp047091e7a4c18aed2e0226eb719b14a17f~IFTCE3-JM2473924739epoutp04D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1659599760; bh=YaUFXrkk/2TN02SnQTghhwfTl7I5ajrem/rsP/HXG7c=; h=Subject:Reply-To:From:To:In-Reply-To:Date:References:From; b=uPZ/1XMxGOCIBW8nSzcBZe98Rw/G6bHPqxaoqcs6THHCHOO3A7Otu94DplQ9TMTGr Tuf1XU32dXp07nnnAXY8vAn7KTvUDlLCnT3jHYfEmuZnkXQ/vMdly2wp44hDe7v9ob FG81vlrcmmisoBzazlicZwqzMYhgepc05hahQksw= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20220804075600epcas2p4b4ffb9a6c1e387c762aded9bd4b4f857~IFTBt3pkd2939529395epcas2p45; Thu, 4 Aug 2022 07:56:00 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.89]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4Lz1Hz5kyDz4x9QK; Thu, 4 Aug 2022 07:55:59 +0000 (GMT) X-AuditID: b6c32a47-5e1ff700000025aa-0a-62eb7b8f3123 Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 96.85.09642.F8B7BE26; Thu, 4 Aug 2022 16:55:59 +0900 (KST) Mime-Version: 1.0 Subject: [PATCH v7 6/6] scsi: ufs: wb: Move the comment to the right position Reply-To: j-young.choi@samsung.com Sender: Jinyoung CHOI From: Jinyoung CHOI To: ALIM AKHTAR , "avri.altman@wdc.com" , "bvanassche@acm.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "beanhuo@micron.com" , "adrian.hunter@intel.com" , "stanley.chu@mediatek.com" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: <20220804074224epcms2p18f0ac2f92073aeed981718a9cab23866@epcms2p1> X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20220804075559epcms2p8018c0a90eb2200713ad521942715a33f@epcms2p8> Date: Thu, 04 Aug 2022 16:55:59 +0900 X-CMS-MailID: 20220804075559epcms2p8018c0a90eb2200713ad521942715a33f X-Sendblock-Type: AUTO_CONFIDENTIAL X-CPGSPASS: Y X-CPGS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Ftc7bApA1MoqI+hq/zdjp8Svt0Jqz93Mbt7hL3RUrncj3+MyG/ quqkcZfNkSurmM5NWHT1cfokJQkbIeb2H2pXeG6xZd3YmP7ZKMDA5LB0qkDswaMsnf9XtLLJ Xbyb/e37L1+dgypP7BJ17k5S8gm9/bNscskffSfff/lSYju0dieV7bn2nin5Z/iUuvWq5mYx epWsMpfevEwuuCXau2/lxmjpjj0u/PbiCw7xB+QwfY98732qQImlOCPRUIu5qDgRALBjsZQ6 BAAA DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220804074224epcms2p18f0ac2f92073aeed981718a9cab23866 References: <20220804074224epcms2p18f0ac2f92073aeed981718a9cab23866@epcms2p1> Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org The location of the comment is wrong. so fix it. Reviewed-by: Avri Altman Reviewed-by: Bart Van Assche Reviewed-by: Stanley Chu Signed-off-by: Jinyoung Choi --- drivers/ufs/core/ufshcd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c index 6460e3c643fa..8217a05f6f3a 100644 --- a/drivers/ufs/core/ufshcd.c +++ b/drivers/ufs/core/ufshcd.c @@ -1298,9 +1298,10 @@ static int ufshcd_devfreq_scale(struct ufs_hba *hba, bool scale_up) } } - /* Enable Write Booster if we have scaled up else disable it */ downgrade_write(&hba->clk_scaling_lock); is_writelock = false; + + /* Enable Write Booster if we have scaled up else disable it */ ufshcd_wb_toggle(hba, scale_up); out_unprepare: