diff options
-rw-r--r-- | drivers/mmc/host/sdhci-s3c.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-s3c.c b/drivers/mmc/host/sdhci-s3c.c index 5fce14385910..dab1a770cb8a 100644 --- a/drivers/mmc/host/sdhci-s3c.c +++ b/drivers/mmc/host/sdhci-s3c.c | |||
@@ -562,6 +562,14 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev) | |||
562 | if (pdata->cd_type == S3C_SDHCI_CD_PERMANENT) | 562 | if (pdata->cd_type == S3C_SDHCI_CD_PERMANENT) |
563 | host->mmc->caps = MMC_CAP_NONREMOVABLE; | 563 | host->mmc->caps = MMC_CAP_NONREMOVABLE; |
564 | 564 | ||
565 | switch (pdata->max_width) { | ||
566 | case 8: | ||
567 | host->mmc->caps |= MMC_CAP_8_BIT_DATA; | ||
568 | case 4: | ||
569 | host->mmc->caps |= MMC_CAP_4_BIT_DATA; | ||
570 | break; | ||
571 | } | ||
572 | |||
565 | if (pdata->pm_caps) | 573 | if (pdata->pm_caps) |
566 | host->mmc->pm_caps |= pdata->pm_caps; | 574 | host->mmc->pm_caps |= pdata->pm_caps; |
567 | 575 | ||