Guennadi Liakhovetski 93173054f2 mmc: tmio_mmc: implement a bounce buffer for unaligned DMA
For example, with SDIO WLAN cards, some transfers happen with buffers at
odd addresses, whereas the SH-Mobile DMA engine requires even addresses
for SDHI. This patch extends the tmio driver with a bounce buffer, that
is used for single entry scatter-gather lists both for sending and
receiving. If we ever encounter unaligned transfers with multi-element
sg lists, this patch will have to be extended. For now it just falls
back to PIO in this and other unsupported cases.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-01-08 23:52:29 -05:00
..
2010-10-29 00:29:23 +02:00
2010-10-29 00:29:40 +02:00
2009-12-13 19:20:53 +01:00
2010-03-12 11:12:21 +00:00
2009-04-05 00:32:22 +02:00
2010-03-07 22:17:17 +01:00
2010-10-29 00:29:57 +02:00
2010-10-29 00:29:57 +02:00
2009-11-27 21:07:21 +01:00