diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-12-19 13:47:18 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2020-12-29 10:07:59 +0530 |
commit | 33cbd54dc515cc04b5a603603414222b4bb1448d (patch) | |
tree | 5e2ddc16d839f8d31789529079d90d6568ed6546 /mm | |
parent | 8fb28795fb64e1151c0e713686d8b026a5a2aece (diff) | |
download | linux-33cbd54dc515cc04b5a603603414222b4bb1448d.tar.bz2 |
dmaengine: mediatek: mtk-hsdma: Fix a resource leak in the error handling path of the probe function
'mtk_hsdma_hw_deinit()' should be called in the error handling path of the
probe function to undo a previous 'mtk_hsdma_hw_init()' call, as already
done in the remove function.
Fixes: 548c4597e984 ("dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/20201219124718.182664-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions