Commit 641d850a authored by Caleb Connolly's avatar Caleb Connolly Committed by Sandeep Patil
Browse files

FROMGIT: scsi: ufs: core: Use a function to calculate versions

Update the driver to use a function for referencing the UFS version.  This
replaces the UFSHCI_VERSION_xy macros, and supports comparisons where they
did not.

Link: https://lore.kernel.org/r/20210310153215.371227-2-caleb@connolly.tech


Suggested-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarBean Huo <beanhuo@micron.com>
Signed-off-by: default avatarCaleb Connolly <caleb@connolly.tech>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>

Bug: 190637035
(cherry picked from commit 51428818
git://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git

 5.14/scsi-staging)
Change-Id: I61a3f2faeddacdb0ae53255577c17392af4b7211
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent a0679e6b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment