mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 10:31:48 +00:00
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>
This commit is contained in:
parent
7464dcd061
commit
c364796a47
@ -64,7 +64,6 @@ int imx_pcm_dma_init(struct platform_device *pdev)
|
||||
{
|
||||
return snd_dmaengine_pcm_register(&pdev->dev, &imx_dmaengine_pcm_config,
|
||||
SND_DMAENGINE_PCM_FLAG_NO_RESIDUE |
|
||||
SND_DMAENGINE_PCM_FLAG_NO_DT |
|
||||
SND_DMAENGINE_PCM_FLAG_COMPAT);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(imx_pcm_dma_init);
|
||||
|
Loading…
Reference in New Issue
Block a user