Re: dmaengine: usage of dmaengine_get() and dma_find_channel()

2019-01-23 Thread Federico Vaga
Thanks for your suggestion On Wednesday, January 23, 2019 1:15:21 PM CET Vinod Koul wrote: > On 21-01-19, 17:41, Federico Vaga wrote: > > Hello, > > > > I am a bit puzzle about the proper usage these two functions: > > > > void dmaengine_get(void) > > struct dma_chan *dma_find_channel(enum

Re: dmaengine: usage of dmaengine_get() and dma_find_channel()

2019-01-23 Thread Vinod Koul
On 21-01-19, 17:41, Federico Vaga wrote: > Hello, > > I am a bit puzzle about the proper usage these two functions: > > void dmaengine_get(void) > struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type) > > Looking into the kernel sources dma_find_channel is not used, despite the

dmaengine: usage of dmaengine_get() and dma_find_channel()

2019-01-21 Thread Federico Vaga
Hello, I am a bit puzzle about the proper usage these two functions: void dmaengine_get(void) struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type) Looking into the kernel sources dma_find_channel is not used, despite the fact that it looks as one of the suggested mechanism to