Commit fa1773cc authored by Sangwook Lee's avatar Sangwook Lee Committed by Chris Ball

mmc: sdhci-s3c: Add pm_caps into SD/MMC host

sdhci-s3c updates pm_caps from platform data for SDIO PM.
Signed-off-by: default avatarSangwook Lee <sangwook.lee@samsung.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent d3049504
...@@ -524,6 +524,9 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev) ...@@ -524,6 +524,9 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
if (pdata->host_caps) if (pdata->host_caps)
host->mmc->caps |= 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 | host->quirks |= (SDHCI_QUIRK_32BIT_DMA_ADDR |
SDHCI_QUIRK_32BIT_DMA_SIZE); SDHCI_QUIRK_32BIT_DMA_SIZE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment