diff mbox series

[v1,5/6] scsi: ufs: Add enums for UniPro version higher than 1.6

Message ID 20201029115750.24391-6-stanley.chu@mediatek.com
State New
Headers show
Series [v1,1/6] scsi: ufs-mediatek: Assign arguments with correct type | expand

Commit Message

Stanley Chu Oct. 29, 2020, 11:57 a.m. UTC
Some vendors need newer UniPro version to decide if some features
can be enabled or not.

Simply add missing enums for the latest UniPro versions.

Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>

---
 drivers/scsi/ufs/unipro.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.18.0
diff mbox series

Patch

diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h
index f6b52ce36de6..8e9e486a4f7b 100644
--- a/drivers/scsi/ufs/unipro.h
+++ b/drivers/scsi/ufs/unipro.h
@@ -237,8 +237,10 @@  enum ufs_unipro_ver {
 	UFS_UNIPRO_VER_RESERVED = 0,
 	UFS_UNIPRO_VER_1_40 = 1, /* UniPro version 1.40 */
 	UFS_UNIPRO_VER_1_41 = 2, /* UniPro version 1.41 */
-	UFS_UNIPRO_VER_1_6 = 3,  /* UniPro version 1.6 */
-	UFS_UNIPRO_VER_MAX = 4,  /* UniPro unsupported version */
+	UFS_UNIPRO_VER_1_6  = 3, /* UniPro version 1.6 */
+	UFS_UNIPRO_VER_1_61 = 4, /* UniPro version 1.61 */
+	UFS_UNIPRO_VER_1_8  = 5, /* UniPro version 1.8 */
+	UFS_UNIPRO_VER_MAX  = 6, /* UniPro unsupported version */
 	/* UniPro version field mask in PA_LOCALVERINFO */
 	UFS_UNIPRO_VER_MASK = 0xF,
 };