[PATCH] mmc: msm_sdhci: fix vendor_spec_cap0 registers

Caleb Connolly caleb.connolly at linaro.org
Fri Apr 12 20:10:21 CEST 2024


The addresses were mistakenly swapped. Put them right.

Reported-by: Sumit Garg <sumit.garg at linaro.org>
Fixes: a737d8962cae ("mmc: msm_sdhci: correct vendor_spec_cap0 register for v5")
Signed-off-by: Caleb Connolly <caleb.connolly at linaro.org>
---
 drivers/mmc/msm_sdhci.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/msm_sdhci.c b/drivers/mmc/msm_sdhci.c
index 2144772ac325..5e9d66526a83 100644
--- a/drivers/mmc/msm_sdhci.c
+++ b/drivers/mmc/msm_sdhci.c
@@ -255,15 +255,15 @@ static int msm_sdc_bind(struct udevice *dev)
 
 static const struct msm_sdhc_variant_info msm_sdhc_mci_var = {
 	.mci_removed = false,
 
-	.core_vendor_spec_capabilities0 = 0x21c,
+	.core_vendor_spec_capabilities0 = 0x11c,
 };
 
 static const struct msm_sdhc_variant_info msm_sdhc_v5_var = {
 	.mci_removed = true,
 
-	.core_vendor_spec_capabilities0 = 0x11c,
+	.core_vendor_spec_capabilities0 = 0x21c,
 };
 
 static const struct udevice_id msm_mmc_ids[] = {
 	{ .compatible = "qcom,sdhci-msm-v4", .data = (ulong)&msm_sdhc_mci_var },
-- 
2.44.0



More information about the U-Boot mailing list