Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3790572pxu; Mon, 30 Nov 2020 10:16:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxGoMwgwh/9oS/98lkxK6+y2TsVk6rLCA9MInkHSuIS0ffo+Rob+rmROoKRPo5wqvpo1jHm X-Received: by 2002:a17:907:d1f:: with SMTP id gn31mr22543941ejc.192.1606760203555; Mon, 30 Nov 2020 10:16:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606760203; cv=none; d=google.com; s=arc-20160816; b=iiMsk9Pgui35jCNuck12B1W/3lEDvsAoINoc9/iMVM1jf/Oz0kN5t4vwJT8U3NYiFG L0p4+ZNLgppKT6JA2mK6R8xxX10Tusggp4Mc6y4GqnzkAgYn7sY4bbjiy2mJXBjA6M+s TrjN6JBzBPPmPO/yUE7a1LuNLoV7FwQtsB4LAungnBrHrfgmQDdRTwdEovWSNhnLwqeW hVyhGWEMUp5EHBspVo0N+/Sgw/1BXA0qvDgrU5TTZ81+rxlSuDv68z9ek6szsgm1csGq VJq4LfUyfWvMTej4FZuctDZhqgFtfhpLxsT0tOkVQOocqfPvJJbnnaOqnS2Kt2+59ZKs G3WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6Iw8DkWBxJegPtxATK4GsVrbWJUY/AvcV6VruC/RlL4=; b=syol7ydwT1Z7rAuPPqzMXT/vjAo/LUc0e7MJozC2ARljg5tVimS5NKaek4f13qsOqo +/z28gt0GIZToQRQsEUtejYZZDd3Eqd9Lqt3Ufra0DPQOJEi0CnDA2zf/IdF8MLD5yzS TqiIO649cWxnswmfSG7RI+EH/9p7DpBWGBEeNmkA/pxEs4gXlNApTEHZ7xzRciwR6pzQ pxUpBG6bovdZtfW1nMVHXu4gu8vGEOmxrTN4h1uxsJ2hqPcNu39ZKi17qQD599hPBNwD CKUZW6580QbIe7xN9nKHVng8O7HS1lFXN9aPIs1tg2WZr2iZ+VEIFs4gyUMe7JyHyxcN B8iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GsRBcFPe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rk15si7051554ejb.170.2020.11.30.10.16.19; Mon, 30 Nov 2020 10:16:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GsRBcFPe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729591AbgK3SMo (ORCPT + 99 others); Mon, 30 Nov 2020 13:12:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729577AbgK3SMn (ORCPT ); Mon, 30 Nov 2020 13:12:43 -0500 Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEA4CC0613D6; Mon, 30 Nov 2020 10:12:02 -0800 (PST) Received: by mail-ed1-x544.google.com with SMTP id q3so17387898edr.12; Mon, 30 Nov 2020 10:12:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6Iw8DkWBxJegPtxATK4GsVrbWJUY/AvcV6VruC/RlL4=; b=GsRBcFPeMBOBd+Bo0ns3MMhOx1dJqEv6x8WawjD9JiSExz3gec6wDEMt9qu75VtwUk W53s9hz2XjBX54D1oLgEf45RwUweHoizi61f33AqGaPFeivkHEJUUE25JjS943HxFkhw JTyO/SNjjzJlBBf/LwJIY0Ps/TLzvx7sWVuMxVfsQ/uP4c4U/aIhfSy2LTY0zOU5JF1w fbWWWUULx+EAOKKDII7/7QP0oc9/x/VV/dvGCxwAjMj7ysTgAlyZYnPU4OFwXIewjNEf T14jdaheWlTYhDdAITB5+iQXFNnmDnEWdpm+HV5FLjheoa6THf7l4TxQLkXlUj/o2Hr8 VphA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6Iw8DkWBxJegPtxATK4GsVrbWJUY/AvcV6VruC/RlL4=; b=QnKh+a7E2WpExC4ScUPIaJnZqZutqCeZX4d9iuUF6CgsHKafpdMu86iYx84xSyYwZe xpefeI8EMVPDE+TrE7zNUwC8qKPPui2fVJo5sdUDKYRuQbnAR3U8/BxLlsYO/pZeaSBl tHN5BkB66HB17aPEn7/xMAwn9pVbm7rlC/HzHVR95hvElYJJy+BkKTLkvL4nWqfcgwDm SoVPmChys+/zg7a56alF1Yc9BmbFG6n5c/Bk35w5wOf/crnqpP9l9X8Zc+tCj8I+bifT ExfG1mueYApnZIDFinGc5YonaYNG2IhcDJ2h9ZqTfpoemu7FUmihLC3GeROCd+eaxItZ AggA== X-Gm-Message-State: AOAM531yiR2C+GLLaLUzD66Ts29kk3Tcl4KTGy9FesYGI6m8TFxnKsv/ b+JyoSFpgopJXDfCdwPi4Ro= X-Received: by 2002:a50:9e05:: with SMTP id z5mr23148757ede.231.1606759921510; Mon, 30 Nov 2020 10:12:01 -0800 (PST) Received: from localhost.localdomain (ip5f5bfce9.dynamic.kabel-deutschland.de. [95.91.252.233]) by smtp.gmail.com with ESMTPSA id d14sm2702899edn.31.2020.11.30.10.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 10:12:00 -0800 (PST) From: Bean Huo To: alim.akhtar@samsung.com, avri.altman@wdc.com, asutoshd@codeaurora.org, jejb@linux.ibm.com, martin.petersen@oracle.com, stanley.chu@mediatek.com, beanhuo@micron.com, bvanassche@acm.org, tomas.winkler@intel.com, cang@codeaurora.org Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] scsi: ufs: Changes comment in the function ufshcd_wb_probe() Date: Mon, 30 Nov 2020 19:11:43 +0100 Message-Id: <20201130181143.5739-4-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201130181143.5739-1-huobean@gmail.com> References: <20201130181143.5739-1-huobean@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo USFHCD supports WriteBooster "LU dedicated buffer” mode and “shared buffer” mode both, so changes the comment in the function ufshcd_wb_probe(). Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index eb7a2534b072..2091775ed3e2 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -7166,10 +7166,9 @@ static void ufshcd_wb_probe(struct ufs_hba *hba, u8 *desc_buf) goto wb_disabled; /* - * WB may be supported but not configured while provisioning. - * The spec says, in dedicated wb buffer mode, - * a max of 1 lun would have wb buffer configured. - * Now only shared buffer mode is supported. + * WB may be supported but not configured while provisioning. The spec + * says, in dedicated wb buffer mode, a max of 1 lun would have wb + * buffer configured. */ dev_info->b_wb_buffer_type = desc_buf[DEVICE_DESC_PARAM_WB_TYPE]; -- 2.17.1