diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2013-06-20 09:20:20 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-15 06:10:36 -0400 |
commit | c364796a473db467b9201ea31a096bc0cf23547a (patch) | |
tree | 906cf3ae60023e7b7e7bd3ddf23d40cf057ae8c3 /sound/soc/fsl/imx-pcm-dma.c | |
parent | 7464dcd061045e664723acbf6be49e3ff53d97d8 (diff) |
ASoC: imx-pcm-dma: DT support
This patch removes the NO_DT flag. The pdev pointer may have a proper
of_node with the dmas property, so we can use it to request DMA
channels.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Timur Tabi <timur@tabi.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-dma.c')
-rw-r--r-- | sound/soc/fsl/imx-pcm-dma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm-dma.c b/sound/soc/fsl/imx-pcm-dma.c index fde4d2ea68c8..f323ce09f881 100644 --- a/sound/soc/fsl/imx-pcm-dma.c +++ b/sound/soc/fsl/imx-pcm-dma.c | |||
@@ -64,7 +64,6 @@ int imx_pcm_dma_init(struct platform_device *pdev) | |||
64 | { | 64 | { |
65 | return snd_dmaengine_pcm_register(&pdev->dev, &imx_dmaengine_pcm_config, | 65 | return snd_dmaengine_pcm_register(&pdev->dev, &imx_dmaengine_pcm_config, |
66 | SND_DMAENGINE_PCM_FLAG_NO_RESIDUE | | 66 | SND_DMAENGINE_PCM_FLAG_NO_RESIDUE | |
67 | SND_DMAENGINE_PCM_FLAG_NO_DT | | ||
68 | SND_DMAENGINE_PCM_FLAG_COMPAT); | 67 | SND_DMAENGINE_PCM_FLAG_COMPAT); |
69 | } | 68 | } |
70 | EXPORT_SYMBOL_GPL(imx_pcm_dma_init); | 69 | EXPORT_SYMBOL_GPL(imx_pcm_dma_init); |