diff options
author | Jeongbae Seo <jeongbae.seo@samsung.com> | 2010-10-08 04:46:20 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-08 23:52:21 -0500 |
commit | b3824f2c6f16ef19060a53ef9345a124de175098 (patch) | |
tree | b2401f0e944f4ea0f3a12d07855131e5abc58d7f /drivers/mmc | |
parent | d75c1084db5e4a30603729852046d0a87d4f7688 (diff) |
mmc: sdhci-s3c: Support additional host capabilities
This patch adds support for additional host capabilities like SD/MMC
high speed, SDHCI bus width, etc.
Signed-off-by: Jeongbae Seo <jeongbae.seo@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-s3c.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index aacb862ecc8a..a7710f557849 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers/mmc/host/sdhci-s3c.c | |||
@@ -427,6 +427,10 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev) | |||
427 | /* HSMMC on Samsung SoCs uses SDCLK as timeout clock */ | 427 | /* HSMMC on Samsung SoCs uses SDCLK as timeout clock */ |
428 | host->quirks |= SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK; | 428 | host->quirks |= SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK; |
429 | 429 | ||
430 | /* It supports additional host capabilities if needed */ | ||
431 | if (pdata->host_caps) | ||
432 | host->mmc->caps |= pdata->host_caps; | ||
433 | |||
430 | ret = sdhci_add_host(host); | 434 | ret = sdhci_add_host(host); |
431 | if (ret) { | 435 | if (ret) { |
432 | dev_err(dev, "sdhci_add_host() failed\n"); | 436 | dev_err(dev, "sdhci_add_host() failed\n"); |