OSDN Git Service

dmaengine: dmatest: unmap data on a single code-path when xfer done
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Mon, 29 Oct 2018 10:08:08 +0000 (12:08 +0200)
committerVinod Koul <vkoul@kernel.org>
Sat, 24 Nov 2018 13:46:46 +0000 (19:16 +0530)
commit0255200bd29afc320c6ea4c1adf8bdc13a9b3c15
tree8d1fa236e495028d2b1ce7219847fc97f48840ce
parent651022382c7f8da46cb4872a545ee1da6d097d2a
dmaengine: dmatest: unmap data on a single code-path when xfer done

After the DMA transfer is done, we don't need to call the un-mapping code
in 3 places. One is enough.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/dmatest.c