[PATCH v3 3/4] mmc: sdhci-esdhc-imx: remove duplicate HS400 bus width validation

Bough Chen haibo.chen at nxp.com
Wed Mar 11 03:03:47 PDT 2026


> -----Original Message-----
> From: Luke Wang <ziniu.wang_1 at nxp.com>
> Sent: 2026年3月11日 17:50
> To: adrian.hunter at intel.com; ulf.hansson at linaro.org; Bough Chen
> <haibo.chen at nxp.com>
> Cc: Frank Li <frank.li at nxp.com>; s.hauer at pengutronix.de;
> kernel at pengutronix.de; festevam at gmail.com; imx at lists.linux.dev;
> linux-mmc at vger.kernel.org; dl-S32 <S32 at nxp.com>;
> linux-arm-kernel at lists.infradead.org; linux-kernel at vger.kernel.org
> Subject: [PATCH v3 3/4] mmc: sdhci-esdhc-imx: remove duplicate HS400 bus
> width validation
> 
> From: Luke Wang <ziniu.wang_1 at nxp.com>
> 
> mmc_validate_host_caps() already validates that HS400/HS400ES requires 8-bit
> bus width. Remove the duplicate validation.

Reviewed-by: Haibo Chen <haibo.chen at nxp.com>

Regards
Haibo Chen
> 
> Signed-off-by: Luke Wang <ziniu.wang_1 at nxp.com>
> Acked-by: Adrian Hunter <adrian.hunter at intel.com>
> ---
>  drivers/mmc/host/sdhci-esdhc-imx.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c
> b/drivers/mmc/host/sdhci-esdhc-imx.c
> index b607d4ffc562..d49069986efc 100644
> --- a/drivers/mmc/host/sdhci-esdhc-imx.c
> +++ b/drivers/mmc/host/sdhci-esdhc-imx.c
> @@ -1833,10 +1833,6 @@ sdhci_esdhc_imx_probe_dt(struct platform_device
> *pdev,
> 
>  	sdhci_get_property(pdev);
> 
> -	/* HS400/HS400ES require 8 bit bus */
> -	if (!(host->mmc->caps & MMC_CAP_8_BIT_DATA))
> -		host->mmc->caps2 &= ~(MMC_CAP2_HS400 |
> MMC_CAP2_HS400_ES);
> -
>  	if (mmc_gpio_get_cd(host->mmc) >= 0)
>  		host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
> 
> --
> 2.34.1



More information about the linux-arm-kernel mailing list