]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: msm_sdhci: fix vendor_spec_cap0 registers
authorCaleb Connolly <caleb.connolly@linaro.org>
Fri, 12 Apr 2024 18:10:21 +0000 (20:10 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:13 +0000 (13:29 +0200)
The addresses were mistakenly swapped. Put them right.

Reported-by: Sumit Garg <sumit.garg@linaro.org>
Fixes: a737d8962cae ("mmc: msm_sdhci: correct vendor_spec_cap0 register for v5")
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/mmc/msm_sdhci.c

index 2144772ac3256f7c3f31dc238dc39dc238e4396a..5e9d66526a838a79d6cd56122628ffb1c2cf5008 100644 (file)
@@ -256,13 +256,13 @@ 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[] = {