From: Jonas Karlman Date: Tue, 18 Apr 2023 16:46:23 +0000 (+0000) Subject: mmc: sdhci: Fix HISPD bit handling for MMC HS 52MHz mode X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20.Permalink%20%7D%7D?a=commitdiff_plain;h=7774b7929961ec5b69cec95a0acc51d10e7564ed;p=u-boot.git mmc: sdhci: Fix HISPD bit handling for MMC HS 52MHz mode Set High Speed Enable bit for MMC High Speed (52MHz) mode. Fixes: f12341a95295 ("mmc: sdhci: Fix HISPD bit handling") Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang --- diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index c6b250b9a1..1389c18533 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -682,6 +682,7 @@ static int sdhci_set_ios(struct mmc *mmc) if (!no_hispd_bit) { if (mmc->selected_mode == MMC_HS || mmc->selected_mode == SD_HS || + mmc->selected_mode == MMC_HS_52 || mmc->selected_mode == MMC_DDR_52 || mmc->selected_mode == MMC_HS_200 || mmc->selected_mode == MMC_HS_400 ||