aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/asn1_compiler.c
diff options
context:
space:
mode:
authorChristopher Freeman <[email protected]>2015-03-04 09:16:58 +0000
committerVinod Koul <[email protected]>2015-04-29 11:17:57 +0000
commit63f89caad0e32dcfa17b2d17919816253de48996 (patch)
tree28329a099239bd98a4c53e3f153b5c53083247f9 /scripts/asn1_compiler.c
parentdmaengine: xgene: Set hardware dependency (diff)
downloadkernel-63f89caad0e32dcfa17b2d17919816253de48996.tar.gz
kernel-63f89caad0e32dcfa17b2d17919816253de48996.zip
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 <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions