aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbel Vesa <[email protected]>2023-10-12 19:05:09 +0300
committerBjorn Andersson <[email protected]>2023-12-18 21:29:23 -0600
commit110cb8d861cc1a040cdab495b22ac436c49d1454 (patch)
tree137422ab8a28a0be9d904bd1ce2cdfa469d92814
parent6c57d7b593c4a4e60db65d5ce0fe1d9f79ccbe9b (diff)
soc: qcom: llcc: Fix LLCC_TRP_ATTR2_CFGn offset
According to documentation, it has increments of 4, not 8. Fixes: c72ca343f911 ("soc: qcom: llcc: Add v4.1 HW version support") Reported-by: Unnathi Chalicheemala <[email protected]> Reviewed-by: Satya Durga Srinivasu Prabhala <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
-rw-r--r--drivers/soc/qcom/llcc-qcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/llcc-qcom.c b/drivers/soc/qcom/llcc-qcom.c
index 6b512939839e..4ca88eaebf06 100644
--- a/drivers/soc/qcom/llcc-qcom.c
+++ b/drivers/soc/qcom/llcc-qcom.c
@@ -47,7 +47,7 @@
#define LLCC_TRP_STATUSn(n) (4 + n * SZ_4K)
#define LLCC_TRP_ATTR0_CFGn(n) (0x21000 + SZ_8 * n)
#define LLCC_TRP_ATTR1_CFGn(n) (0x21004 + SZ_8 * n)
-#define LLCC_TRP_ATTR2_CFGn(n) (0x21100 + SZ_8 * n)
+#define LLCC_TRP_ATTR2_CFGn(n) (0x21100 + SZ_4 * n)
#define LLCC_TRP_SCID_DIS_CAP_ALLOC 0x21f00
#define LLCC_TRP_PCB_ACT 0x21f04