WSL2-Linux-Kernel/drivers/dma/mediatek
Satendra Singh Thakur 1ff9524325 dmaengine: mediatek: hsdma_probe: fixed a memory leak when devm_request_irq fails
When devm_request_irq fails, currently, the function
dma_async_device_unregister gets called. This doesn't free
the resources allocated by of_dma_controller_register.
Therefore, we have called of_dma_controller_free for this purpose.

Signed-off-by: Satendra Singh Thakur <sst2005@gmail.com>
Link: https://lore.kernel.org/r/20191109113523.6067-1-sst2005@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2019-11-14 12:16:53 +05:30
..
Kconfig dmaengine updates for v5.3-rc1 2019-07-17 09:55:43 -07:00
Makefile dmaengine updates for v5.3-rc1 2019-07-17 09:55:43 -07:00
mtk-cqdma.c dmaengine: mediatek: Use devm_platform_ioremap_resource() in mtk_cqdma_probe() 2019-10-14 13:21:20 +05:30
mtk-hsdma.c dmaengine: mediatek: hsdma_probe: fixed a memory leak when devm_request_irq fails 2019-11-14 12:16:53 +05:30
mtk-uart-apdma.c dmaengine: mediatek: Use devm_platform_ioremap_resource() in mtk_uart_apdma_probe() 2019-10-14 13:21:20 +05:30