spi: omap2-mcspi: convert to dma_request_slave_channel_compat()
authorMatt Porter <mporter@ti.com>
Sat, 22 Jun 2013 17:37:38 +0000 (23:07 +0530)
committerMark Brown <broonie@linaro.org>
Mon, 24 Jun 2013 09:18:40 +0000 (10:18 +0100)
commit74f3aaad21660c91ea13136ea8c41f5183e421fd
tree8cad0c899a86a4bd9c587f063c1eee9e88f2e186
parentd33f473dcd8e69321f001ba330d648f475b504c9
spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

Convert dmaengine channel requests to use
dma_request_slave_channel_compat(). This supports the DT case of
platforms requiring channel selection from either the OMAP DMA or
the EDMA engine. AM33xx only boots from DT and is the only user
implementing EDMA so in the !DT case we can default to the OMAP DMA
filter.

Signed-off-by: Matt Porter <mporter@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-omap2-mcspi.c