mmc: sh_mmcif: add DMA support
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 24 Nov 2010 10:05:22 +0000 (10:05 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 25 Nov 2010 07:26:46 +0000 (16:26 +0900)
commita782d688e9c6f9ca9a7a9a28e8e2876969ddef53
treec8b13a19a1397bbbda255a59ce8a26518991d2e5
parente47bf32aa8de06ec72e18b4fbbd880caeedb0088
mmc: sh_mmcif: add DMA support

The MMCIF controller on sh-mobile platforms can use the DMA controller for data
transfers. Interface to the SH dmaengine driver to enable DMA. We also have to
lower the maximum number of segments to match with the number od DMA
descriptors on SuperH, this doesn't significantly affect driver's PIO
performance.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/sh_mmcif.c
include/linux/mmc/sh_mmcif.h