From: Guennadi Liakhovetski Date: Mon, 7 Mar 2011 10:33:11 +0000 (+0100) Subject: mmc: tmio: use PIO for short transfers X-Git-Tag: v2.6.39-rc1~1^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f52c3552946eafa13f89c949449d16ce2b58b24;p=pandora-kernel.git 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 Acked-by: Paul Mundt Signed-off-by: Chris Ball --- Reading git-diff-tree failed