Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228915
b: refs/heads/master
c: 729b0c7
h: refs/heads/master
i:
  228913: cb20b1b
  228911: 85cdaa6
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Chris Ball committed Jan 9, 2011
1 parent 3b6aca0 commit 6ac8c4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a2727e98786136fb968b18d96f8ecdd9ba38aa8
refs/heads/master: 729b0c79c2c0f631bffe1be5abaf291febf7792f
9 changes: 7 additions & 2 deletions trunk/drivers/mmc/host/tmio_mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -864,10 +864,15 @@ static int __devinit tmio_mmc_probe(struct platform_device *dev)
goto host_free;

mmc->ops = &tmio_mmc_ops;
mmc->caps = MMC_CAP_4_BIT_DATA;
mmc->caps |= pdata->capabilities;
mmc->caps = MMC_CAP_4_BIT_DATA | pdata->capabilities;
mmc->f_max = pdata->hclk;
mmc->f_min = mmc->f_max / 512;
mmc->max_segs = 32;
mmc->max_blk_size = 512;
mmc->max_blk_count = (PAGE_CACHE_SIZE / mmc->max_blk_size) *
mmc->max_segs;
mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count;
mmc->max_seg_size = mmc->max_req_size;
if (pdata->ocr_mask)
mmc->ocr_avail = pdata->ocr_mask;
else
Expand Down

0 comments on commit 6ac8c4c

Please sign in to comment.