DAI drivers can set the dma_name to the desired one instead of filter_data when booting with device tree in order to be able to get the correct DMA channel in DT boot. When booting with devicetree the platform_get_resource_byname() is not available for DMA resources. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> --- include/sound/dmaengine_pcm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/sound/dmaengine_pcm.h b/include/sound/dmaengine_pcm.h index f11c35c..85a3286 100644 --- a/include/sound/dmaengine_pcm.h +++ b/include/sound/dmaengine_pcm.h @@ -68,6 +68,7 @@ struct snd_dmaengine_dai_dma_data { u32 maxburst; unsigned int slave_id; void *filter_data; + const char *dma_name; }; void snd_dmaengine_pcm_set_config_from_dai_data( -- 1.8.2.1