Skip to contentSkip to conversation

scsi: ufs: update device descriptor maximum size

PATCH New Subhash Jadavani 1 participant 1 message Nov 24, 2016 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 3/11 scsi: ufs: update device descriptor maximum size

From: Yaniv Gardi <[email protected]>

According to JESD220B - UFS v2.0, the maximum size of device descriptor has changed from 0x1F to 0x40. This patch updates the maximum size of this descriptor.

---
 drivers/scsi/ufs/ufs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/ufs/ufs.h +1 -1
index 7a6ccb6..8e6709a 100644
@@ -163,7 +163,7 @@ enum desc_header_offset {
 };
 
 enum ufs_desc_max_size {
-	QUERY_DESC_DEVICE_MAX_SIZE		= 0x1F,
+	QUERY_DESC_DEVICE_MAX_SIZE		= 0x40,
 	QUERY_DESC_CONFIGURAION_MAX_SIZE	= 0x90,
 	QUERY_DESC_UNIT_MAX_SIZE		= 0x23,
 	QUERY_DESC_INTERCONNECT_MAX_SIZE	= 0x06,
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project