diff options
author | Wolfgang Muees <wolfgang.mues@auerswald.de> | 2010-03-05 13:43:41 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-06 11:26:43 -0800 |
commit | 86ee26f5b0a889bf7e9f6351bbf01516d0686461 (patch) | |
tree | 59c9cc05be531a10a09d7e4f005be274c34fa068 /drivers/mmc/host/sdhci-pci.c | |
parent | 3780d90602dfef6df3d8b39b203d6bf7fb99f22a (diff) | |
download | blackbird-op-linux-86ee26f5b0a889bf7e9f6351bbf01516d0686461.tar.gz blackbird-op-linux-86ee26f5b0a889bf7e9f6351bbf01516d0686461.zip |
mmc: at91_mci: use DMA buffer for read
Convert the read to use the DMA buffer as well. The old code was doing
double-buffering DMA with the PDC; no way to make it work. Replace it
with a single-PDC approach. It also simplify things removing the need for
a pre_dma_read() function.
[nicolas.ferre@atmel.com coding style modifications]
Signed-off-by: Wolfgang Muees <wolfgang.mues@auerswald.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Andrew Victor <avictor.za@gmail.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.c')
0 files changed, 0 insertions, 0 deletions