dmaengine: bcm2835: do not call vchan_vdesc_fini() with lock held
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 16 Dec 2019 10:53:20 +0000 (11:53 +0100)
committerVinod Koul <vkoul@kernel.org>
Thu, 26 Dec 2019 04:34:18 +0000 (10:04 +0530)
commit5c8aacbbb3b706a024eefc376b1d542d59de5749
tree29af3184e0699a4c31eb4fa7293943ef06c03162
parent08baca4280d8abcf139fa8fec5b3de6f346efbae
dmaengine: bcm2835: do not call vchan_vdesc_fini() with lock held

vchan_vdesc_fini() can't be called locked. Instead, call
vchan_terminate_vdesc() which delays the freeing of the descriptor to
vchan_synchronize().

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20191216105328.15198-2-s.hauer@pengutronix.de
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/bcm2835-dma.c