Skip to content

Commit

Permalink
mmc: sdhci: Fix HISPD bit handling for MMC HS 52MHz mode
Browse files Browse the repository at this point in the history
Set High Speed Enable bit for MMC High Speed (52MHz) mode.

Fixes: f12341a ("mmc: sdhci: Fix HISPD bit handling")
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
  • Loading branch information
Kwiboo authored and keveryang committed Apr 21, 2023
1 parent f89167b commit 7774b79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mmc/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand Down

0 comments on commit 7774b79

Please sign in to comment.