diff options
author | Vinod Koul <vinod.koul@intel.com> | 2018-01-31 11:21:26 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2018-01-31 11:21:26 +0300 |
commit | b8e1a963593551431ec0b3ac7bfce50f4a32ee35 (patch) | |
tree | 0552e21b5b997e7f87080660d62e25b189f47c53 /drivers/dma/virt-dma.c | |
parent | cea0dd4d96e548b720657a5e38ef291be6d4fff3 (diff) | |
parent | 2c6929d2ea708fbdcab6e6721c9a57b54a7e5a6e (diff) | |
download | linux-b8e1a963593551431ec0b3ac7bfce50f4a32ee35.tar.xz |
Merge branch 'topic/virt-dma' into for-linus
Diffstat (limited to 'drivers/dma/virt-dma.c')
-rw-r--r-- | drivers/dma/virt-dma.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/dma/virt-dma.c b/drivers/dma/virt-dma.c index 545e97279083..88ad8ed2a8d6 100644 --- a/drivers/dma/virt-dma.c +++ b/drivers/dma/virt-dma.c @@ -107,10 +107,7 @@ static void vchan_complete(unsigned long arg) dmaengine_desc_get_callback(&vd->tx, &cb); list_del(&vd->node); - if (dmaengine_desc_test_reuse(&vd->tx)) - list_add(&vd->node, &vc->desc_allocated); - else - vc->desc_free(vd); + vchan_vdesc_fini(vd); dmaengine_desc_callback_invoke(&cb, NULL); } |