From patchwork Fri Apr 12 18:10:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 788293 Delivered-To: patch@linaro.org Received: by 2002:adf:e6ca:0:b0:346:15ad:a2a with SMTP id y10csp849874wrm; Fri, 12 Apr 2024 11:11:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXrEnlAzHnD3RdrpcKJnnXWowyruqbQkROl1UzwKDb9RehnTposaRtdthTWWoWyCYap6DmTncE38OC4k++TmC5J X-Google-Smtp-Source: AGHT+IEYNnZRBGYf+w7mYRSF44427ct/Rfv8Jrth7tUPM5O5jUppDgRGlF9srI5asqCuSih3WFtz X-Received: by 2002:a50:c31c:0:b0:56e:1dda:5c2a with SMTP id a28-20020a50c31c000000b0056e1dda5c2amr2884372edb.16.1712945460922; Fri, 12 Apr 2024 11:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712945460; cv=none; d=google.com; s=arc-20160816; b=M8Fav0dlyHC+IGM+HnXHaL3GNVV5xTElk0q23jlgItrcyXKcoozaGeLHQzKBlYJ4+q mFhSE6tV56W9yQqeeQIDU6e2WsrGtUAX7qy9jhHz1ZIbh1f4N9yOQLCaEJfYf1JGPFHp Enlf3HK9lamUMVyMra4t2rRNptUDW7JOGfyp1XuKgmKY45Xq71cOBV0NuPTOKx8yOiin HK4Q30kEvmrj5TNdYDLNFNywOXXSSGUHir/ujc0QLd0QW7F247REkbpXBfPOOpcrtuMG 2dIks+1cvcy5MmqCogWhbQMGaWJqlbBanVVkmfLILyxXSfz40TcNiLvAuH+4T1YIK/cj EifA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=hYfRHMxRKccz/VtQHHnfWA50Q3udn+ze01RK20ZMWMQ=; fh=qHt/eizAJV+IAoobsyJ7W2SSYJoMQztnGDDv9pfVyEE=; b=dDsAdW7tGmuAmh293nfwymR+qp3qmy0ueZKod+Aj06SbiNKaHbEZBmy1UHQvbFg1vq D4FTusrBC9SCr0n7e1OVs3BcH963F6UZsewE7DltXBB8WOP0IOSCFx85jQEvGcPR75UA sAgYSHMnmwqXyDbE+A/bSJcuC1swxYQ+c3geVSA15kpmpOG336Z2i1eM/Z58Ly067ng9 /pwnhQO8UYPl36ywqiVxo8vTxcjvnaebgVO3LhqwmaNZc4ld9PI0odmae/pHlzKx+03y M/8OlbP5Et3ZKEY9tL1RHip+VVqWRVkVsOWodN0YImwLek/ZBLQ7zP6O8b86dURkMQnZ qRHA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="V7/QfB/s"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id o27-20020a509b1b000000b0056df88a5cfcsi1820093edi.330.2024.04.12.11.11.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 11:11:00 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="V7/QfB/s"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C2E9A87ED3; Fri, 12 Apr 2024 20:10:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="V7/QfB/s"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6745087FED; Fri, 12 Apr 2024 20:10:58 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 64CFF87E82 for ; Fri, 12 Apr 2024 20:10:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4167fce0a41so12819495e9.0 for ; Fri, 12 Apr 2024 11:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712945456; x=1713550256; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hYfRHMxRKccz/VtQHHnfWA50Q3udn+ze01RK20ZMWMQ=; b=V7/QfB/sBII1nR7w9b0jF8EgvDQJeDK+91VGGzJPNYJUPH4jMI2rey2bjX38Ouxl8x EAQWgkvhTDuuWu/NKqUQlFynMEuB285Tv1TGKlQ/Ge5elCOk5TUuA42uJwGhu/al3Uc+ /SA0f98CLieo6zkDtWoZ+WiMoKN+HoWh0qxyVhujX7L+fPU/5BNdp1ogokB2v533IYk5 gQPksbYEGuNy1Z+tje2IJrY8wZeF3iQTHWZQwUaldfpzwCoSh5/ifUt5+GzARw4LcYWo pdWLcI6itNVtE9FSGjh6rsLFYc469BpWe8hvef2qr+2FTjEvD5t+vyucejFJ6iDJo6zS ezlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712945456; x=1713550256; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hYfRHMxRKccz/VtQHHnfWA50Q3udn+ze01RK20ZMWMQ=; b=F/IGODa5/hRijmcALRN8qAHE8iBsqgmkIrOIm0N2Sn6OIKIa2mP0w15MdCCQXhloRn tDkfOf+wpO87SjC2LID57SmIDnk6K7gChZV3MbGSvbhpvq79VjxJIsD+HETvVC2z9Yke SYYS5HeSI6j3o3b+ZZIryuzcR8dtxpDDt8rYmNlI4BGSZ7bVzuUDhLCX4c7vIysTfk0Q dqKVC76JQfo1vV7dkMvQVf5APTml6QnIbJHkDqLFiqegPRAisSTtvhNeC5fP/cAV7c1q a068Zu/N/GJBxePVPoV8+dMP/dmB2hQiUxF2MO7vMr/r7e41dc32c32vmeyxHhrDriWV Bezg== X-Gm-Message-State: AOJu0Yyl3x6mmkzURaibW/JqIPPcpbiDRJnKwHw0NcsfmJtmoap/xWLn MN5VyEDGUtCUbMZaodS3insCkjA5xyTUF9qJzVG0NDdf1YaK4Y4ZScJTM7Vb6Io= X-Received: by 2002:a05:6000:e50:b0:347:2489:ba3c with SMTP id dy16-20020a0560000e5000b003472489ba3cmr1454674wrb.3.1712945455745; Fri, 12 Apr 2024 11:10:55 -0700 (PDT) Received: from cymric.caleb.rex.connolly.tech (92.40.205.160.threembb.co.uk. [92.40.205.160]) by smtp.gmail.com with ESMTPSA id o4-20020a05600c4fc400b004170e0aff7asm9188250wmq.35.2024.04.12.11.10.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 11:10:55 -0700 (PDT) From: Caleb Connolly To: Caleb Connolly , Jaehoon Chung , Neil Armstrong , Peng Fan , Sean Anderson , Sumit Garg , Tom Rini Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io Subject: [PATCH] mmc: msm_sdhci: fix vendor_spec_cap0 registers Date: Fri, 12 Apr 2024 20:10:21 +0200 Message-ID: <20240412181031.1513372-1-caleb.connolly@linaro.org> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 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 },