Christophe JAILLET 5cd8a51517 dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA
[ Upstream commit 3aa58cb51318e329d203857f7a191678e60bb714 ]

This dma_alloc_coherent() is undone neither in the remove function, nor in
the error handling path of fsl_qdma_probe().

Switch to the managed version to fix both issues.

Fixes: b092529e0aa0 ("dmaengine: fsl-qdma: Add qDMA controller driver for Layerscape SoCs")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/7f66aa14f59d32b13672dde28602b47deb294e1f.1704621515.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-16 19:10:42 +01:00
..
2023-02-24 17:18:54 -08:00
2023-09-03 10:49:42 -07:00
2022-09-29 12:24:16 +05:30
2023-09-03 10:49:42 -07:00
2023-09-03 10:49:42 -07:00
2023-02-24 17:18:54 -08:00
2023-05-03 11:11:56 -07:00
2023-09-03 10:49:42 -07:00
2021-12-13 13:18:48 +05:30