Re: [PATCH] dmaengine: fix balance of privatecnt inc/dec operations

2015-08-17 Thread Vinod Koul
On Fri, Aug 07, 2015 at 12:26:47PM +0200, Robert Baldyga wrote: > This patch increments privatecnt value and set DMA_PRIVATE in device > caps in dma_request_slave_channel() function. This is needed to keep > privatecnt increment/decrement balance. > > As function dma_release_channel() decrements

Re: [PATCH] dmaengine: fix balance of privatecnt inc/dec operations

2015-08-17 Thread Vinod Koul
On Fri, Aug 07, 2015 at 12:26:47PM +0200, Robert Baldyga wrote: This patch increments privatecnt value and set DMA_PRIVATE in device caps in dma_request_slave_channel() function. This is needed to keep privatecnt increment/decrement balance. As function dma_release_channel() decrements

Re: [PATCH] dmaengine: fix balance of privatecnt inc/dec operations

2015-08-09 Thread Krzysztof Kozlowski
On 07.08.2015 19:26, Robert Baldyga wrote: > This patch increments privatecnt value and set DMA_PRIVATE in device > caps in dma_request_slave_channel() function. This is needed to keep > privatecnt increment/decrement balance. > > As function dma_release_channel() decrements privatecnt counter,

Re: [PATCH] dmaengine: fix balance of privatecnt inc/dec operations

2015-08-09 Thread Krzysztof Kozlowski
On 07.08.2015 19:26, Robert Baldyga wrote: This patch increments privatecnt value and set DMA_PRIVATE in device caps in dma_request_slave_channel() function. This is needed to keep privatecnt increment/decrement balance. As function dma_release_channel() decrements privatecnt counter, we

[PATCH] dmaengine: fix balance of privatecnt inc/dec operations

2015-08-07 Thread Robert Baldyga
This patch increments privatecnt value and set DMA_PRIVATE in device caps in dma_request_slave_channel() function. This is needed to keep privatecnt increment/decrement balance. As function dma_release_channel() decrements privatecnt counter, we need to increment it when channel is requested.

[PATCH] dmaengine: fix balance of privatecnt inc/dec operations

2015-08-07 Thread Robert Baldyga
This patch increments privatecnt value and set DMA_PRIVATE in device caps in dma_request_slave_channel() function. This is needed to keep privatecnt increment/decrement balance. As function dma_release_channel() decrements privatecnt counter, we need to increment it when channel is requested.