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)
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>

No differences found