diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2012-05-23 08:44:37 (GMT) |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-07-21 04:02:18 (GMT) |
commit | 02cb3221d5bb351ad9f7469453dcca7594a0fabf (patch) | |
tree | 71a98c69ec6db6c680f6909d787e898dc277228b /drivers/mmc/host | |
parent | 5aa7dad305594ea30d21e23b3036565042adf50c (diff) | |
download | linux-02cb3221d5bb351ad9f7469453dcca7594a0fabf.tar.xz |
mmc: tmio: support caps2 flags
Allow tmio mmc glue drivers to pass mmc_host::caps2 flags down to
the mmc layer.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/tmio_mmc_pio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c index b204012f..f8df021 100644 --- a/drivers/mmc/host/tmio_mmc_pio.c +++ b/drivers/mmc/host/tmio_mmc_pio.c @@ -951,6 +951,7 @@ int __devinit tmio_mmc_host_probe(struct tmio_mmc_host **host, mmc->ops = &tmio_mmc_ops; mmc->caps = MMC_CAP_4_BIT_DATA | pdata->capabilities; + mmc->caps2 = pdata->capabilities2; mmc->max_segs = 32; mmc->max_blk_size = 512; mmc->max_blk_count = (PAGE_CACHE_SIZE / mmc->max_blk_size) * |