spi: mxs-spi: move to use generic DMA helper
authorShawn Guo <shawn.guo@linaro.org>
Tue, 26 Feb 2013 03:07:32 +0000 (11:07 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Thu, 4 Apr 2013 13:22:44 +0000 (21:22 +0800)
commit26aafa77df61c4190eae80646211ee6f07c88eaf
tree5ae896947ebde38999bd5271a8a13ad09a2b117d
parent0e91e434c86c84e84c46cf8bff2b5e53daee85d5
spi: mxs-spi: 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 handling in probe function also gets removed.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Documentation/devicetree/bindings/spi/mxs-spi.txt
drivers/spi/spi-mxs.c
include/linux/spi/mxs-spi.h
This page took 0.07526 seconds and 5 git commands to generate.