]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita82e4d3e7b481d76a4da5d212fb8b66e1f1e16e3
tree2c8505b03948d91424731318dfa3d7745fae82b5
parentb4042ff416a0cb8ded14d4ec244f28a4ef27bca1
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