Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: drivers/mmc/host/sdhci-tegra.c

Issue 6474032: mach-tegra: Adding MMC_KEEP_POWER to support suspend/resume for wifi SDIO slot (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/kernel-next.git@chromeos-2.6.37
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « arch/arm/mach-tegra/include/mach/sdhci.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « arch/arm/mach-tegra/include/mach/sdhci.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698