Revert "dmaengine: virt-dma: don't always free descriptor upon completion"

This reverts commit b9855f03d5.
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>
This commit is contained in:
Jun Nie 2015-07-10 20:02:49 +08:00 • committed by Vinod Koul
commit 8c8fe97b2b
2 changed files with 7 additions and 25 deletions