diff options
author | Sujit Reddy Thumma <sthumma@codeaurora.org> | 2013-06-26 22:39:30 +0530 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-28 13:10:07 -0700 |
commit | 3ca316c582ddf11944806a27e460e7bd8f61a968 (patch) | |
tree | 45ed1207a7e48a1356802d7742cc07b7bcf735c1 /drivers | |
parent | 6ccf44fe4cd7c45a33f571788890a299d8bca448 (diff) |
[SCSI] ufs: Fix the response UPIU length setting
The response UPIU length should be in DWORD and not in bytes.
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/ufs/ufshcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 48a76459a5c9..2230f1412d88 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -802,7 +802,7 @@ static void ufshcd_host_memory_configure(struct ufs_hba *hba) utrdlp[i].prd_table_offset = cpu_to_le16((prdt_offset >> 2)); utrdlp[i].response_upiu_length = - cpu_to_le16(ALIGNED_UPIU_SIZE); + cpu_to_le16(ALIGNED_UPIU_SIZE >> 2); hba->lrb[i].utr_descriptor_ptr = (utrdlp + i); hba->lrb[i].ucd_cmd_ptr = |