diff mbox

[5/5] mmc: sdhci-pltfm can wake up.

Message ID 1289402889-14160-7-git-send-email-peppe.cavallaro@st.com (mailing list archive)
State New, archived
Headers show

Commit Message

Peppe CAVALLARO Nov. 10, 2010, 3:28 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci-pltfm.c b/drivers/mmc/host/sdhci-pltfm.c
index 4e881a5..6ea32e1 100644
--- a/drivers/mmc/host/sdhci-pltfm.c
+++ b/drivers/mmc/host/sdhci-pltfm.c
@@ -100,6 +100,8 @@  static int __devinit sdhci_pltfm_probe(struct platform_device *pdev)
 			goto err_plat_init;
 	}
 
+	host->mmc->pm_flags = MMC_PM_KEEP_POWER;
+
 	ret = sdhci_add_host(host);
 	if (ret)
 		goto err_add_host;