aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-02-11 16:05:36 -0800
committerDmitry Shmidt <dimitrysh@google.com>2011-02-11 16:05:36 -0800
commite087e1019ba3f0e3b8826de36367ee913658ddad (patch)
treeead0a19435bcc8651a692b125042227a90c1da39
parent13add50a506d7f6a3ac807c654b87274e8dd6d4a (diff)
downloadexperimental-android-msm-2.6.37-wip.tar.gz
mmc: msm_sdcc: Add CONFIG_MMC_EMBEDDED_SDIO supportandroid-msm-2.6.37-wip
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--drivers/mmc/host/msm_sdcc.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index d42766df6e0..10f63b3010b 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -1118,7 +1118,14 @@ msmsdcc_probe(struct platform_device *pdev)
host->memres = memres;
host->dmares = dmares;
spin_lock_init(&host->lock);
-
+#ifdef CONFIG_MMC_EMBEDDED_SDIO
+ if (plat->embedded_sdio)
+ mmc_set_embedded_sdio_data(mmc,
+ &plat->embedded_sdio->cis,
+ &plat->embedded_sdio->cccr,
+ plat->embedded_sdio->funcs,
+ plat->embedded_sdio->num_funcs);
+#endif
/*
* Setup DMA
*/