From 0bfbd404efa8adee75e6d7fe5a8d70db98a7f4d5 Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Fri, 12 Apr 2024 20:10:21 +0200 Subject: [PATCH] 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 --- 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 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[] = { -- 2.39.5