]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "dmaengine: virt-dma: don't always free descriptor upon completion"
authorJun Nie <jun.nie@linaro.org>
Fri, 10 Jul 2015 12:02:49 +0000 (20:02 +0800)
committerVinod Koul <vinod.koul@intel.com>
Fri, 31 Jul 2015 15:03:43 +0000 (20:33 +0530)
commit7d77cde27bc9298b447344737809e164507d35fb
tree31cb28e7335a1e29a1f86f1e982955a3336318f4
parent2ab732109d0c1ff2fe81258cb59e5d7d86903568
Revert "dmaengine: virt-dma: don't always free descriptor upon completion"

This reverts commit cc05fdd70c478e21c2e1184acd7f87a0a8707156.
The patch break existing DMA usage case. For example, audio SOC
dmaengine never release channel and cause virt-dma to cache too
much memory in descriptor to exhaust system memory.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/virt-dma.c
drivers/dma/virt-dma.h