validated code when testing eMMC dual data rate. On Oct 6, 2010, at 11:57 AM, Philip Rakity wrote: > > when examining the code in the mmc directory the SD and MMC code > set highspeed using a different constant. Change the sd driver > to recognize this and switch to high speed. > > Signed-off-by: Philip Rakity <prakity@xxxxxxxxxxx> > --- > 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 d3f924b..1d3f4d8 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) > else > ctrl &= ~SDHCI_CTRL_4BITBUS; > > - if (ios->timing == MMC_TIMING_SD_HS && > - !(host->quirks & SDHCI_QUIRK_NO_HISPD_BIT)) > + if ((ios->timing == MMC_TIMING_SD_HS > + || ios->timing == MMC_TIMING_MMC_HS) > + && !(host->quirks & SDHCI_QUIRK_NO_HISPD_BIT)) > ctrl |= SDHCI_CTRL_HISPD; > else > ctrl &= ~SDHCI_CTRL_HISPD; > -- > 1.6.0.4 > -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html