Skip to content

Commit 24d6243

Browse files
Yaniv Gardimartinkpetersen
authored andcommitted
scsi: ufs: update device descriptor maximum size
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. Signed-off-by: Yaniv Gardi <[email protected]> Signed-off-by: Subhash Jadavani <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 4b761b5 commit 24d6243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/ufs/ufs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ enum desc_header_offset {
163163
};
164164

165165
enum ufs_desc_max_size {
166-
QUERY_DESC_DEVICE_MAX_SIZE = 0x1F,
166+
QUERY_DESC_DEVICE_MAX_SIZE = 0x40,
167167
QUERY_DESC_CONFIGURAION_MAX_SIZE = 0x90,
168168
QUERY_DESC_UNIT_MAX_SIZE = 0x23,
169169
QUERY_DESC_INTERCONNECT_MAX_SIZE = 0x06,

0 commit comments

Comments
 (0)