]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd77153352443c4ad8b06c15909096d067952c080
tree8cad0c899a86a4bd9c587f063c1eee9e88f2e186
parentc430af26fa13ea0b18129d8db8ebb7cbdbb00551
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