diff options
author | Christophe JAILLET <[email protected]> | 2020-12-12 17:06:14 +0100 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-01-12 18:00:39 +0530 |
commit | b202d4e82531a62a33a6b14d321dd2aad491578e (patch) | |
tree | 0eec794a7ee332edf169b4ac07e935860fd9cfc9 /include/linux/trace_recursion.h | |
parent | cbc0ad004c03ad7971726a5db3ec84dba3dcb857 (diff) |
dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
In case of error, the previous 'fsl_dma_chan_probe()' calls must be undone
by some 'fsl_dma_chan_remove()', as already done in the remove function.
It was added in the remove function in commit 77cd62e8082b ("fsldma: allow
Freescale Elo DMA driver to be compiled as a module")
Fixes: d3f620b2c4fe ("fsldma: simplify IRQ probing and handling")
Signed-off-by: Christophe JAILLET <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'include/linux/trace_recursion.h')
0 files changed, 0 insertions, 0 deletions