summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2012-03-24 14:57:29 -0700
committerEric Nelson <eric.nelson@boundarydevices.com>2013-02-12 10:45:35 -0700
commita48d37a5e637b6a4e34224eae5ba3ab439495a36 (patch)
treed594273b5e618822810e587a20aacd4a7e24bded /drivers
parent8a140ebc60078f4275795940c92ebc0c638311ce (diff)
mmc: esdhc: add caps flag to esdhc_platform_data
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/sdhci-esdhc-imx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c
index 35fd825f4709..7b08196eb4cf 100644
--- a/drivers/mmc/host/sdhci-esdhc-imx.c
+++ b/drivers/mmc/host/sdhci-esdhc-imx.c
@@ -855,6 +855,7 @@ static int esdhc_pltfm_init(struct sdhci_host *host, struct sdhci_pltfm_data *pd
if (boarddata->support_8bit)
host->mmc->caps |= MMC_CAP_8_BIT_DATA;
+ host->mmc->caps |= boarddata->caps;
if (boarddata->keep_power_at_suspend)
host->mmc->pm_caps |= (MMC_PM_KEEP_POWER | \
MMC_PM_WAKE_SDIO_IRQ);