Re: [PATCH v2] ASoC: davinci-mcasp: Choose PCM driver based on configured DMA controller

2015-06-02 Thread Jyri Sarha
On 06/02/15 19:16, Misael Lopez Cruz wrote: Jyri, On 06/02/2015 08:49 AM, Jyri Sarha wrote: Find the configured DMA controller by asking for a DMA channel in the probe phase and releasing it right after. The controller device can be found via the dma_chan struct and the controller is recognized

Re: [PATCH v2] ASoC: davinci-mcasp: Choose PCM driver based on configured DMA controller

2015-06-02 Thread Misael Lopez Cruz
Jyri, On 06/02/2015 08:49 AM, Jyri Sarha wrote: Find the configured DMA controller by asking for a DMA channel in the probe phase and releasing it right after. The controller device can be found via the dma_chan struct and the controller is recognized from the compatible property of its device n

[PATCH v2] ASoC: davinci-mcasp: Choose PCM driver based on configured DMA controller

2015-06-02 Thread Jyri Sarha
Find the configured DMA controller by asking for a DMA channel in the probe phase and releasing it right after. The controller device can be found via the dma_chan struct and the controller is recognized from the compatible property of its device node. The patch assumes EDMA if there is no device n