diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2011-03-07 11:33:11 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-25 10:39:05 -0400 |
commit | 5f52c3552946eafa13f89c949449d16ce2b58b24 (patch) | |
tree | 193ab366bf12a261235a2f8c0ae4c5ae182b941d /drivers/mmc/host/tmio_mmc.h | |
parent | 51fc7b2ce74d31b7d9a6bd3c57bf6c1cc77e837d (diff) |
mmc: tmio: use PIO for short transfers
This patch allows transferring of some requests in PIO and some in DMA
mode and defaults to using DMA only for transfers longer than 8 bytes.
This is especially useful with SDIO, which can have lots of 2- and 4-byte
transfers, creating unnecessary high overhead, when executed in DMA.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
0 files changed, 0 insertions, 0 deletions