Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298791
b: refs/heads/master
c: 0d22c77
h: refs/heads/master
i:
  298789: 6333d6b
  298787: be3d7ee
  298783: 4304780
v: v3
  • Loading branch information
Thomas Abraham authored and Chris Ball committed Apr 5, 2012
1 parent 0347582 commit 05b7796
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3119936a289db88cf749143fa5ef6b4a4712e3c0
refs/heads/master: 0d22c77089c86416324d0d87e7ef8cfa931e53cd
8 changes: 8 additions & 0 deletions trunk/drivers/mmc/host/sdhci-s3c.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,14 @@ static int __devinit sdhci_s3c_probe(struct platform_device *pdev)
if (pdata->cd_type == S3C_SDHCI_CD_PERMANENT)
host->mmc->caps = MMC_CAP_NONREMOVABLE;

switch (pdata->max_width) {
case 8:
host->mmc->caps |= MMC_CAP_8_BIT_DATA;
case 4:
host->mmc->caps |= MMC_CAP_4_BIT_DATA;
break;
}

if (pdata->pm_caps)
host->mmc->pm_caps |= pdata->pm_caps;

Expand Down

0 comments on commit 05b7796

Please sign in to comment.