Re: [PATCH] Allow to use DMA_CTRL_REUSE flag for all channel types

2017-05-09 Thread Vinod Koul
On Tue, May 02, 2017 at 03:16:18PM +, Eugeniy Paltsev wrote: > Hi Vinod, > > On Mon, 2017-05-01 at 11:21 +0530, Vinod Koul wrote: > > On Fri, Apr 28, 2017 at 04:37:46PM +0300, Eugeniy Paltsev wrote: > > > In the current implementation dma_get_slave_caps is used to check > > > state of

Re: [PATCH] Allow to use DMA_CTRL_REUSE flag for all channel types

2017-05-09 Thread Vinod Koul
On Tue, May 02, 2017 at 03:16:18PM +, Eugeniy Paltsev wrote: > Hi Vinod, > > On Mon, 2017-05-01 at 11:21 +0530, Vinod Koul wrote: > > On Fri, Apr 28, 2017 at 04:37:46PM +0300, Eugeniy Paltsev wrote: > > > In the current implementation dma_get_slave_caps is used to check > > > state of

Re: [PATCH] Allow to use DMA_CTRL_REUSE flag for all channel types

2017-05-02 Thread Eugeniy Paltsev
Hi Vinod, On Mon, 2017-05-01 at 11:21 +0530, Vinod Koul wrote: > On Fri, Apr 28, 2017 at 04:37:46PM +0300, Eugeniy Paltsev wrote: > > In the current implementation dma_get_slave_caps is used to check > > state of descriptor_reuse option. But dma_get_slave_caps includes > > check if the channel

Re: [PATCH] Allow to use DMA_CTRL_REUSE flag for all channel types

2017-05-02 Thread Eugeniy Paltsev
Hi Vinod, On Mon, 2017-05-01 at 11:21 +0530, Vinod Koul wrote: > On Fri, Apr 28, 2017 at 04:37:46PM +0300, Eugeniy Paltsev wrote: > > In the current implementation dma_get_slave_caps is used to check > > state of descriptor_reuse option. But dma_get_slave_caps includes > > check if the channel

Re: [PATCH] Allow to use DMA_CTRL_REUSE flag for all channel types

2017-04-30 Thread Vinod Koul
On Fri, Apr 28, 2017 at 04:37:46PM +0300, Eugeniy Paltsev wrote: > In the current implementation dma_get_slave_caps is used to check > state of descriptor_reuse option. But dma_get_slave_caps includes > check if the channel supports slave transactions. > So DMA_CTRL_REUSE flag can be set (even for

Re: [PATCH] Allow to use DMA_CTRL_REUSE flag for all channel types

2017-04-30 Thread Vinod Koul
On Fri, Apr 28, 2017 at 04:37:46PM +0300, Eugeniy Paltsev wrote: > In the current implementation dma_get_slave_caps is used to check > state of descriptor_reuse option. But dma_get_slave_caps includes > check if the channel supports slave transactions. > So DMA_CTRL_REUSE flag can be set (even for

[PATCH] Allow to use DMA_CTRL_REUSE flag for all channel types

2017-04-28 Thread Eugeniy Paltsev
In the current implementation dma_get_slave_caps is used to check state of descriptor_reuse option. But dma_get_slave_caps includes check if the channel supports slave transactions. So DMA_CTRL_REUSE flag can be set (even for MEM-TO-MEM tranfers) only if channel supports slave transactions. Now

[PATCH] Allow to use DMA_CTRL_REUSE flag for all channel types

2017-04-28 Thread Eugeniy Paltsev
In the current implementation dma_get_slave_caps is used to check state of descriptor_reuse option. But dma_get_slave_caps includes check if the channel supports slave transactions. So DMA_CTRL_REUSE flag can be set (even for MEM-TO-MEM tranfers) only if channel supports slave transactions. Now