]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: omap-dmic: Do not use platform_get_resource_byname() for DMA
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 11 Jul 2013 12:35:45 +0000 (14:35 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 11 Jul 2013 16:38:00 +0000 (17:38 +0100)
commit2ebef44789223389708505e33c67d44e9f999d4a
tree4fd19740f1c487a9386bd8996d4e37c3bf2e5372
parenta8035f073cb508a0c1223db2662510575627b41d
ASoC: omap-dmic: Do not use platform_get_resource_byname() for DMA

The DMA resource no longer available via this API when booting with DT.
DMIC is only available on OMAP4/5 and both can boot with DT only.
Set the dma_data.filter_data to the DMA name which will be used by omap-pcm
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-dmic.c