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-Tag: next-20111202~38^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=666b6ab07b0d54f32ad21faf837b0280f29348f3;p=karo-tx-linux.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);