summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc_dma.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-03-07 11:33:11 +0100
committerChris Ball <cjb@laptop.org>2011-03-25 10:39:05 -0400
commit5f52c3552946eafa13f89c949449d16ce2b58b24 (patch)
tree193ab366bf12a261235a2f8c0ae4c5ae182b941d /drivers/mmc/host/tmio_mmc_dma.c
parent51fc7b2ce74d31b7d9a6bd3c57bf6c1cc77e837d (diff)
downloadlinux-5f52c3552946eafa13f89c949449d16ce2b58b24.tar.bz2
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_dma.c')
0 files changed, 0 insertions, 0 deletions