RESEND v2: scsi: ufshcd: use a macro for UFS versions

2021-03-09 Thread Caleb Connolly
When using a device with UFS > 2.1 the error "invalid UFS version" is misleadingly printed. There was a patch for this almost a year ago to which this solution was suggested. This series replaces the use of the growing UFSHCI_VERSION_xy macros with an inline function to encode a major and minor ve

v2: scsi: ufshcd: use a macro for UFS versions

2021-03-09 Thread Caleb Connolly
When using a device with UFS > 2.1 the error "invalid UFS version" is misleadingly printed. There was a patch for this almost a year ago to which this solution was suggested. This series replaces the use of the growing UFSHCI_VERSION_xy macros with an inline function to encode a major and minor ve