commit | 5f52c3552946eafa13f89c949449d16ce2b58b24 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Mon Mar 07 11:33:11 2011 +0100 |
committer | Chris Ball <cjb@laptop.org> | Fri Mar 25 10:39:05 2011 -0400 |
tree | 193ab366bf12a261235a2f8c0ae4c5ae182b941d | |
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>