Chromium Code Reviews| Index: drivers/mmc/host/sdhci-tegra.c |
| diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c |
| index 50abda808f553fcc79b876757f96ad7b6591897a..d0191adc204180da5fb022a20950bcb66877297a 100644 |
| --- a/drivers/mmc/host/sdhci-tegra.c |
| +++ b/drivers/mmc/host/sdhci-tegra.c |
| @@ -184,6 +184,9 @@ static int tegra_sdhci_pltfm_init(struct sdhci_host *host, |
| clk_enable(clk); |
| pltfm_host->clk = clk; |
| + if (plat->pm_flags) |
|
Olof Johansson
2011/03/08 02:36:21
Does this have to be conditional?
|
| + host->mmc->pm_caps = plat->pm_flags; |
| + |
| if (plat->is_8bit) |
| host->mmc->caps |= MMC_CAP_8_BIT_DATA; |