]> Pileus Git - ~andy/linux/commit
ASoC: omap-pcm: Request the DMA channel differently when DT is involved
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 11 Jul 2013 12:35:43 +0000 (14:35 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 11 Jul 2013 16:37:44 +0000 (17:37 +0100)
commitf6becf0b2ffef0bed813d7f910b5d276c5dc45e1
tree379feabda5b68f0174c4506d76480398ce4e8bac
parent84bbc4aa2de97143db0f6ef0c3fa0bd84f73b207
ASoC: omap-pcm: Request the DMA channel differently when DT is involved

When booting with DT the platform_get_resource_byname() is not available to
get the DMA resource. In this case the DAI drivers will set the filter_data to
the name of the DMA and omap-pcm can use this 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/omap-pcm.c