summaryrefslogtreecommitdiff
path: root/drivers/staging/media/atomisp
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2020-12-13 16:35:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-28 15:14:53 +0100
commitd887d6104adeb94d1b926936ea21f07367f0ff9f (patch)
treed27f820efc633348193ff94481a22344a213373f /drivers/staging/media/atomisp
parentcab36da4bf1a35739b091b73714a39a1bbd02b05 (diff)
staging: mt7621-dma: Fix a resource leak in an error handling path
If an error occurs after calling 'mtk_hsdma_init()', it must be undone by a corresponding call to 'mtk_hsdma_uninit()' as already done in the remove function. Fixes: 0853c7a53eb3 ("staging: mt7621-dma: ralink: add rt2880 dma engine") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Cc: stable <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20201213153513.138723-1-christophe.jaillet@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/atomisp')
0 files changed, 0 insertions, 0 deletions