1
0
Fork 0
alistair23-linux/drivers/staging
Christophe JAILLET 70cf59b8ff staging: mt7621-dma: Fix a resource leak in an error handling path
commit d887d6104a upstream.

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: 0853c7a53e ("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>
2021-01-12 20:16:18 +01:00
..
android staging: android: ashmem: Fix lockdep warning for write operation 2020-08-11 15:33:34 +02:00
axis-fifo
board
clocking-wizard
comedi staging: comedi: mf6x4: Fix AI end-of-conversion detection 2020-12-30 11:51:35 +01:00
emxx_udc staging: emxx_udc: Fix passing of NULL to dma_alloc_coherent() 2020-10-29 09:57:37 +01:00
exfat
fbtft
fieldbus staging: fieldbus: anybuss: jump to correct label in an error path 2020-11-05 11:43:37 +01:00
fsl-dpaa2
fwserial
gasket staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gasket_interrupt.c 2020-12-30 11:51:07 +01:00
gdm724x
goldfish
greybus staging: greybus: codecs: Fix reference counter leak in error handling 2020-12-30 11:51:07 +01:00
gs_fpgaboot
iio staging: iio: ad2s1210: Fix SPI reading 2020-05-27 17:46:45 +02:00
isdn
kpc2000 staging: kpc2000: fix error return code in kp2000_pcie_probe() 2020-05-27 17:46:45 +02:00
ks7010
media media: staging/intel-ipu3: css: Correctly reset some memory 2020-10-29 09:57:31 +01:00
most
mt7621-dma staging: mt7621-dma: Fix a resource leak in an error handling path 2021-01-12 20:16:18 +01:00
mt7621-dts
mt7621-pci
mt7621-pci-phy
mt7621-pinctrl
netlogic
nvec
octeon staging/octeon: fix up merge error 2020-12-08 10:40:24 +01:00
octeon-usb
olpc_dcon
pi433
qlge
ralink-gdma staging: ralink-gdma: fix kconfig dependency bug for DMA_RALINK 2020-12-02 08:49:47 +01:00
rtl8188eu staging:r8188eu: avoid skb_clone for amsdu to msdu conversion 2020-10-01 13:17:57 +02:00
rtl8192e
rtl8192u staging: rtl8192u: Do not use GFP_KERNEL in atomic context 2020-10-29 09:57:36 +01:00
rtl8712 staging: rtl8712: handle firmware load failure 2020-08-11 15:33:34 +02:00
rtl8723bs staging: rtl8723bs: Add 024c:0627 to the list of SDIO device-ids 2020-11-24 13:29:21 +01:00
rts5208
sm750fb staging: sm750fb: add missing case while setting FB_VISUAL 2020-06-24 17:50:24 +02:00
speakup speakup: fix uninitialized flush_lock 2020-12-30 11:51:22 +01:00
unisys
uwb
vc04_services staging: vchiq_arm: Add a matching unregister call 2020-08-19 08:16:09 +02:00
vme
vt6655
vt6656 staging: vt6656: Power save stop wake_up_count wrap around. 2020-04-29 16:33:22 +02:00
wilc1000 net: wilc1000: clean up resource in error path of init mon interface 2020-10-29 09:57:40 +01:00
wlan-ng staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb() 2020-09-17 13:47:51 +02:00
wusbcore
Kconfig
Makefile