diff options
author | Manivannan Sadhasivam <[email protected]> | 2022-12-22 19:39:55 +0530 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-01-11 21:49:34 -0500 |
commit | 7959587f3284bf163e4f1baff3c6fa71fc6a55b1 (patch) | |
tree | 3596949fdaf3449360468ed105fd8a40269a369f | |
parent | 132b027205ef94a1d933d0f08a4109b1e321bda2 (diff) |
scsi: ufs: ufs-qcom: Fix the Qcom register name for offset 0xD0
On newer UFS revisions, the register at offset 0xD0 is called,
REG_UFS_PARAM0. Since the existing register, RETRY_TIMER_REG is not used
anywhere, it is safe to use the new name.
Reviewed-by: Andrew Halaney <[email protected]>
Reviewed-by: Asutosh Das <[email protected]>
Tested-by: Andrew Halaney <[email protected]> # Qdrive3/sa8540p-ride
Signed-off-by: Manivannan Sadhasivam <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
-rw-r--r-- | drivers/ufs/host/ufs-qcom.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ufs/host/ufs-qcom.h b/drivers/ufs/host/ufs-qcom.h index e56e84750fd9..1d9bad596a87 100644 --- a/drivers/ufs/host/ufs-qcom.h +++ b/drivers/ufs/host/ufs-qcom.h @@ -33,7 +33,8 @@ enum { REG_UFS_TX_SYMBOL_CLK_NS_US = 0xC4, REG_UFS_LOCAL_PORT_ID_REG = 0xC8, REG_UFS_PA_ERR_CODE = 0xCC, - REG_UFS_RETRY_TIMER_REG = 0xD0, + /* On older UFS revisions, this register is called "RETRY_TIMER_REG" */ + REG_UFS_PARAM0 = 0xD0, REG_UFS_PA_LINK_STARTUP_TIMER = 0xD8, REG_UFS_CFG1 = 0xDC, REG_UFS_CFG2 = 0xE0, |