Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 679882ae authored by Santosh Y's avatar Santosh Y Committed by Martin K. Petersen
Browse files

scsi: ufs: Add missing UFS_MASK macro definition

parent 2ae75787
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -83,6 +83,8 @@ enum {
	MASK_UIC_DME_TEST_MODE_SUPPORT		= 0x04000000,
};

#define UFS_MASK(mask, offset)		((mask) << (offset))

/* UFS Version 08h */
#define MINOR_VERSION_NUM_MASK		UFS_MASK(0xFFFF, 0)
#define MAJOR_VERSION_NUM_MASK		UFS_MASK(0xFFFF, 16)