]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5fa6c247c27e78384707d92ff365b07c76b2800
tree8d1fa236e495028d2b1ce7219847fc97f48840ce
parenta9e80a095d95d1159b26f73bd6d9c2fadc7fb411
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