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.

Change-Id: I5f5de516a2d86e1f4409e44e1b2db62a624207b9
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
This commit is contained in:
Yaniv Gardi 2013-12-06 03:37:25 +02:00 committed by David Keitel
parent 591026c930
commit 277e3a5096

View file

@ -143,7 +143,7 @@ enum desc_header_offset {
}; };
enum ufs_desc_max_size { 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_CONFIGURAION_MAX_SIZE = 0x90,
QUERY_DESC_UNIT_MAX_SIZE = 0x23, QUERY_DESC_UNIT_MAX_SIZE = 0x23,
QUERY_DESC_INTERCONNECT_MAX_SIZE = 0x06, QUERY_DESC_INTERCONNECT_MAX_SIZE = 0x06,