From: Sangwook Lee Date: Mon, 7 Nov 2011 17:05:22 +0000 (+0000) Subject: mmc: sdhci-s3c: Add pm_caps into SD/MMC host X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fa1773cc5b78faa1ef0ab1ab0f48bce7bc72cec5;p=linux-beck.git mmc: sdhci-s3c: Add pm_caps into SD/MMC host sdhci-s3c updates pm_caps from platform data for SDIO PM. Signed-off-by: Sangwook Lee Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index 55c1e870da83..b6558b829a9c 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers/mmc/host/sdhci-s3c.c @@ -524,6 +524,9 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev) if (pdata->host_caps) host->mmc->caps |= pdata->host_caps; + if (pdata->pm_caps) + host->mmc->pm_caps |= pdata->pm_caps; + host->quirks |= (SDHCI_QUIRK_32BIT_DMA_ADDR | SDHCI_QUIRK_32BIT_DMA_SIZE);