mmc: sdhci-esdhc-imx: remove duplicate HS400 bus width validation

mmc_validate_host_caps() already validates that HS400/HS400ES requires
8-bit bus width. Remove the duplicate validation.

Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
master
Luke Wang 2026-03-11 17:50:08 +08:00 committed by Ulf Hansson
parent 60ed2f96c9
commit 5cfc804ba9
1 changed files with 0 additions and 4 deletions

View File

@ -1842,10 +1842,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;