From: Christopher Freeman Date: Wed, 4 Mar 2015 09:16:58 +0000 (-0800) Subject: dmaengine: increment privatecnt when using dma_get_any_slave_channel X-Git-Tag: omap-for-v4.2/omap1-v2~40^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f89caad0e32dcfa17b2d17919816253de48996;p=pandora-kernel.git dmaengine: increment privatecnt when using dma_get_any_slave_channel Channels allocated via dma_get_any_slave_channel were not increasing the counter tracking private allocations. When these channels were released, privatecnt may erroneously fall to zero. The DMA device would then lose its DMA_PRIVATE cap and fail to allocate future private channels (via private_candidate) as any allocations still outstanding would incorrectly be seen as public allocations. Signed-off-by: Christopher Freeman Signed-off-by: Vinod Koul --- Reading git-diff-tree failed