[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <922c687a-2023-8a78-b6c7-7c3c8a40ae32@acm.org>
Date: Wed, 22 Apr 2020 16:13:31 -0700
From: Bart Van Assche <bvanassche@....org>
To: huobean@...il.com, alim.akhtar@...sung.com, avri.altman@....com,
asutoshd@...eaurora.org, jejb@...ux.ibm.com,
martin.petersen@...cle.com, stanley.chu@...iatek.com,
beanhuo@...ron.com, tomas.winkler@...el.com, cang@...eaurora.org
Cc: linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/5] scsi: ufs: add ufs_features parameter in structure
ufs_dev_info
On 4/16/20 1:31 PM, huobean@...il.com wrote:
> diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
> index 83ed2879d930..1fe7ffc1a75a 100644
> --- a/drivers/scsi/ufs/ufshcd.c
> +++ b/drivers/scsi/ufs/ufshcd.c
> @@ -6625,6 +6625,8 @@ static int ufs_get_device_desc(struct ufs_hba *hba)
> goto out;
> }
>
> + dev_info->ufs_features = desc_buf[DEVICE_DESC_PARAM_UFS_FEAT];
> +
> if (desc_buf[DEVICE_DESC_PARAM_UFS_FEAT] & 0x80) {
> hba->dev_info.hpb_control_mode =
> desc_buf[DEVICE_DESC_PARAM_HPB_CTRL_MODE];
>
Since this change is very closely related to the changes in patch 1/3,
please merge this patch into patch 1/3.
Thanks,
Bart.
Powered by blists - more mailing lists