24 Jul
2013
24 Jul
'13
9:58 a.m.
On 07/24/2013 06:10 AM, Richard Zhao wrote:
- add tegra_dma_filter_data to specify dma info DMA DT binding needs the device that raise dma request and dma name to request a dma channel. tegra30_i2s is a special case. It should be ahub device and it also has dma name that cannot handled by ASoC dmaengine code. So we pass the info using filter data in snd_dmaengine_dai_dma_data.
How about extending the generic dmaengine PCM driver so that it is possible to specify the the DMA channel names? I think that will make the code a bit simpler and also allow you to remove tegra_pcm.c completely eventually.
- Lars