scsi: ufs: update device descriptor maximum size
authorYaniv Gardi <ygardi@codeaurora.org>
Thu, 24 Nov 2016 00:31:30 +0000 (16:31 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 29 Nov 2016 17:06:56 +0000 (12:06 -0500)
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 <ygardi@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs.h

index 7a6ccb6..8e6709a 100644 (file)
@@ -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,