ASoC: omap-mcbsp: Use different method for DMA request when booted with DT
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 11 Jul 2013 12:35:46 +0000 (14:35 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 11 Jul 2013 16:38:03 +0000 (17:38 +0100)
commit9ab1fac4829b3da0ba4d3f44d95d3e8ad13e6629
tree43600b1923025bddb9134694c501c1a8caf587d9
parent2ebef44789223389708505e33c67d44e9f999d4a
ASoC: omap-mcbsp: Use different method for DMA request when booted with DT

The DMA resource no longer available via this API when booting with DT.
When the board is booted with DT do not use platform_get_resource_byname(),
instead set the dma_data.filter_data to the name of the DMA channel and omap-pcm
can use this name to request the DMA channel.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/omap/mcbsp.c