Skip to content

Commit

Permalink
mmc: sdhci-s3c: Add pm_caps into SD/MMC host
Browse files Browse the repository at this point in the history
sdhci-s3c updates pm_caps from platform data for SDIO PM.

Signed-off-by: Sangwook Lee <sangwook.lee@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
  • Loading branch information
Sangwook Lee authored and Chris Ball committed Jan 12, 2012
1 parent d304950 commit fa1773c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/mmc/host/sdhci-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit fa1773c

Please sign in to comment.