]> 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)
commit4d6f375aa5e0a1e481ef01a49e4f5b5d3830b4f8
tree8cad0c899a86a4bd9c587f063c1eee9e88f2e186
parent1be2ddfa40306250ace81e76790d5496d8170735
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