scsi: ufs: core: Pass EHS length into ufshcd_prepare_req_desc_hdr()
authorBean Huo <beanhuo@micron.com>
Thu, 1 Dec 2022 14:04:36 +0000 (15:04 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 30 Dec 2022 21:01:04 +0000 (21:01 +0000)
commita4b1c9b9b38c92da099aba234c96e818f8d2e4dd
tree639b4192a94ea7b7b73a4590019ae617b86e2148
parentf6b9d0fe5c0573ddd0cbf3071a2003897325c86c
scsi: ufs: core: Pass EHS length into ufshcd_prepare_req_desc_hdr()

We need to fill in the total EHS length in UTP Transfer Request Descriptor.
Add this functionality to ufshcd_prepare_req_desc_hdr().

Signed-off-by: Bean Huo <beanhuo@micron.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c