Hi,

On Wed, Oct 17 2012, Kevin Liu wrote:
> diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
> index c3e786d..522e501 100644
> --- a/drivers/mmc/host/sdhci.c
> +++ b/drivers/mmc/host/sdhci.c
> @@ -1529,8 +1529,15 @@ static void sdhci_do_set_ios(struct sdhci_host *host, 
> struct mmc_ios *ios)
>                               ctrl_2 |= SDHCI_CTRL_UHS_SDR50;
>                       else if (ios->timing == MMC_TIMING_UHS_SDR104)
>                               ctrl_2 |= SDHCI_CTRL_UHS_SDR104;
> -                     else if (ios->timing == MMC_TIMING_UHS_DDR50)
> +                     else if (ios->timing == MMC_TIMING_UHS_DDR50) {
> +                             struct mmc_card *card;
> +
>                               ctrl_2 |= SDHCI_CTRL_UHS_DDR50;
> +                             card = container_of(&(host->mmc),
> +                                     struct mmc_card, host);
> +                             if (mmc_card_mmc(card))
> +                                     ctrl_2 |= SDHCI_CTRL_VDD_180;
> +                     }
>                       sdhci_writew(host, ctrl_2, SDHCI_HOST_CONTROL2);
>               }
>               if (!(host->quirks2 & SDHCI_QUIRK2_PRESET_VALUE_BROKEN) &&

I'm using DDR50 on an eMMC that's only powered by 3.3V (no 1.8V
available) with sdhci-pxav3, so it sounds like I don't want to merge
this patch?

Thanks,

- Chris.
-- 
Chris Ball   <[email protected]>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to