diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-12-12 17:25:35 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-01-12 18:00:40 +0530 |
commit | 1f0a16f04113f9f0ab0c8e6d3abe661edab549e6 (patch) | |
tree | 4a43c8889ce1583df43928e53c151d2fd2fc4c36 /drivers/dma/qcom/gpi.c | |
parent | b202d4e82531a62a33a6b14d321dd2aad491578e (diff) | |
download | linux-stable-1f0a16f04113f9f0ab0c8e6d3abe661edab549e6.tar.gz linux-stable-1f0a16f04113f9f0ab0c8e6d3abe661edab549e6.tar.bz2 linux-stable-1f0a16f04113f9f0ab0c8e6d3abe661edab549e6.zip |
dmaengine: owl-dma: Fix a resource leak in the remove function
A 'dma_pool_destroy()' call is missing in the remove function.
Add it.
This call is already made in the error handling path of the probe function.
Fixes: 47e20577c24d ("dmaengine: Add Actions Semi Owl family S900 DMA driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20201212162535.95727-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/qcom/gpi.c')
0 files changed, 0 insertions, 0 deletions