[PATCH v2 39/64] dmaengine: fsl-edma-common: kill vchan BH on teardown

Allen Pais <[email protected]>
Newsgroups dev.linux.lists.imx,org.kernel.vger.dmaengine,org.kernel.vger.linux-kernel
Message-ID <b0bf2faa89ea57cfdd9da400bdacf41fae75a6f8.1785183549.git.allen.lkml@gmail.com>
Use dma_chan_kill_bh() for virt-dma cleanup.

Signed-off-by: Allen Pais <[email protected]>
---
 drivers/dma/fsl-edma-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/fsl-edma-common.c
index bb7531c456df..70b40e60c39a 100644
--- a/drivers/dma/fsl-edma-common.c
+++ b/drivers/dma/fsl-edma-common.c
@@ -915,7 +915,7 @@ void fsl_edma_cleanup_vchan(struct dma_device *dmadev)
 	list_for_each_entry_safe(chan, _chan,
 				&dmadev->channels, vchan.chan.device_node) {
 		list_del(&chan->vchan.chan.device_node);
-		tasklet_kill(&chan->vchan.task);
+		dma_chan_kill_bh(&chan->vchan.chan);
 	}
 }
 
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.