diff mbox series

mmc: msm_sdhci: fix vendor_spec_cap0 registers

Message ID 20240412181031.1513372-1-caleb.connolly@linaro.org
State Accepted
Commit 0bfbd404efa8adee75e6d7fe5a8d70db98a7f4d5
Headers show
Series mmc: msm_sdhci: fix vendor_spec_cap0 registers | expand

Commit Message

Caleb Connolly April 12, 2024, 6:10 p.m. UTC
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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Caleb Connolly April 12, 2024, 6:12 p.m. UTC | #1
On Fri, 12 Apr 2024 20:10:21 +0200, Caleb Connolly wrote:
> The addresses were mistakenly swapped. Put them right.
> 
> 

Applied, thanks!

[1/1] mmc: msm_sdhci: fix vendor_spec_cap0 registers
      commit: f09537bdd940c051b851c235e8906f1ba83233d1

Best regards,
diff mbox series

Patch

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 },