Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);