mmc: mxs-mmc: move to use generic DMA helper
authorShawn Guo <shawn.guo@linaro.org>
Tue, 26 Feb 2013 02:10:38 +0000 (10:10 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 4 Apr 2013 13:22:44 +0000 (21:22 +0800)
commit0e91e434c86c84e84c46cf8bff2b5e53daee85d5
tree2c8505b03948d91424731318dfa3d7745fae82b5
parentd84f638b037fcd132ecf6f09f5b8ccf82278b9ee
mmc: mxs-mmc: move to use generic DMA helper

With the generic DMA device tree helper supported by mxs-dma driver,
client devices only need to call dma_request_slave_channel() for
requesting a DMA channel from dmaengine.

Since mxs is a DT only platform now, along with the changes, the non-DT
case checking in probe function also gets cleaned up.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Chris Ball <cjb@laptop.org>
Cc: linux-mmc@vger.kernel.org
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/mmc/mxs-mmc.txt
drivers/mmc/host/mxs-mmc.c