From: Caleb Connolly Date: Fri, 12 Apr 2024 18:10:21 +0000 (+0200) Subject: mmc: msm_sdhci: fix vendor_spec_cap0 registers X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=0bfbd404efa8adee75e6d7fe5a8d70db98a7f4d5;p=u-boot.git mmc: msm_sdhci: fix vendor_spec_cap0 registers The addresses were mistakenly swapped. Put them right. Reported-by: Sumit Garg Fixes: a737d8962cae ("mmc: msm_sdhci: correct vendor_spec_cap0 register for v5") Signed-off-by: Caleb Connolly --- diff --git a/drivers/mmc/msm_sdhci.c b/drivers/mmc/msm_sdhci.c index 2144772ac3..5e9d66526a 100644 --- a/drivers/mmc/msm_sdhci.c +++ b/drivers/mmc/msm_sdhci.c @@ -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[] = {