]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ti: edma-pcm: Fix for legacy dma_slave_map based channel lookup
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 30 Aug 2019 10:38:40 +0000 (13:38 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 30 Aug 2019 11:22:46 +0000 (12:22 +0100)
commitd745644525f5df3d88c6a2c303fa53e8d08415b4
treecf6f94229a55aac34b3759abb9de4c6064f5098a
parente9a71f2aa7c43bd502d4292a8b718c382954250e
ASoC: ti: edma-pcm: Fix for legacy dma_slave_map based channel lookup

Most of the daVinci devices does not boot with DT. In this case the DMA
channel is looked up with dma_slave_map and for that the chan_names[]
must be configured.

Both McASP and ASP/McBSP uses "tx" and "rx" as channel names, so we can
just do this when the dev->of_node is not valid.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20190830103841.25128-4-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/edma-pcm.c