diff options
| -rw-r--r-- | drivers/mmc/host/sdhci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index d3f924bcfffd..23358d339a68 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
| @@ -1194,8 +1194,9 @@ static void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) | |||
| 1194 | else | 1194 | else |
| 1195 | ctrl &= ~SDHCI_CTRL_4BITBUS; | 1195 | ctrl &= ~SDHCI_CTRL_4BITBUS; |
| 1196 | 1196 | ||
| 1197 | if (ios->timing == MMC_TIMING_SD_HS && | 1197 | if ((ios->timing == MMC_TIMING_SD_HS || |
| 1198 | !(host->quirks & SDHCI_QUIRK_NO_HISPD_BIT)) | 1198 | ios->timing == MMC_TIMING_MMC_HS) |
| 1199 | && !(host->quirks & SDHCI_QUIRK_NO_HISPD_BIT)) | ||
| 1199 | ctrl |= SDHCI_CTRL_HISPD; | 1200 | ctrl |= SDHCI_CTRL_HISPD; |
| 1200 | else | 1201 | else |
| 1201 | ctrl &= ~SDHCI_CTRL_HISPD; | 1202 | ctrl &= ~SDHCI_CTRL_HISPD; |
