linux/drivers/staging
Christophe JAILLET c43e954654 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:10:20 +01:00
..
android staging: android: ashmem: Fix lockdep warning for write operation 2020-08-11 15:32:31 +02:00
axis-fifo staging: axis-fifo: add CONFIG_OF dependency 2019-05-04 09:20:12 +02:00
board
clocking-wizard
comedi staging: comedi: mf6x4: Fix AI end-of-conversion detection 2020-12-30 11:26:10 +01:00
dgnc
emxx_udc
erofs erofs: derive atime instead of leaving it empty 2020-11-18 19:18:51 +01:00
fbtft fbtft: Make sure string is NULL terminated 2019-12-31 16:36:10 +01:00
fsl-dpaa2 staging: fsl-dpaa2/ethsw: fix memory leak of switchdev_work 2019-07-14 08:11:22 +02:00
fwserial
gasket staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gasket_interrupt.c 2020-12-30 11:25:53 +01:00
gdm724x
goldfish
greybus staging: greybus: codecs: Fix reference counter leak in error handling 2020-12-30 11:25:53 +01:00
gs_fpgaboot
iio staging: iio: ad2s1210: Fix SPI reading 2020-05-27 17:37:42 +02:00
ks7010
media media: staging/imx: Missing assignment in imx_media_capture_device_register() 2020-10-01 13:14:34 +02:00
most staging: most: core: replace strcpy() by strscpy() 2020-05-27 17:37:39 +02:00
mt29f_spinand mtd: rawnand: Pass a nand_chip object to nand_scan() 2020-06-25 15:33:07 +02:00
mt7621-dma staging: mt7621-dma: Fix a resource leak in an error handling path 2021-01-12 20:10:20 +01:00
mt7621-dts
mt7621-eth
mt7621-mmc
mt7621-pci staging, mt7621-pci: fix build without pci support 2019-05-04 09:20:12 +02:00
mt7621-pinctrl staging: mt7621-pinctrl: use pinconf-generic for 'dt_node_to_map' and 'dt_free_map' 2019-11-06 13:05:27 +01:00
mt7621-spi spi: mt7621: fix missing clk_disable_unprepare() on error in mt7621_spi_probe 2020-12-30 11:26:14 +01:00
netlogic
nvec
octeon staging: octeon: Drop on uncorrectable alignment or FCS error 2020-11-05 11:08:55 +01:00
octeon-usb
olpc_dcon staging: olpc_dcon: add a missing dependency 2018-12-19 19:19:49 +01:00
pi433 staging: pi433: fix potential null dereference 2019-02-12 19:47:02 +01:00
rtl8188eu staging:r8188eu: avoid skb_clone for amsdu to msdu conversion 2020-10-01 13:14:43 +02:00
rtl8192e staging: rtl8192e: fix potential use after free 2019-12-05 09:21:26 +01:00
rtl8192u staging: rtl8192u: Do not use GFP_KERNEL in atomic context 2020-10-29 09:55:07 +01:00
rtl8712 staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK 2020-06-10 21:35:00 +02:00
rtl8723bs staging: rtl8723bs: Add 024c:0627 to the list of SDIO device-ids 2020-11-24 13:27:24 +01:00
rtlwifi staging: rtlwifi: Use proper enum for return in halmac_parse_psd_data_88xx 2020-01-27 14:50:26 +01:00
rts5208
sm750fb staging: sm750fb: add missing case while setting FB_VISUAL 2020-06-25 15:32:54 +02:00
speakup speakup: fix uninitialized flush_lock 2020-12-30 11:26:02 +01:00
unisys
vboxvideo
vc04_services staging: bcm2835-camera: fix module autoloading 2020-01-27 14:50:05 +01:00
vme
vt6655 staging: vt6655: Fix memory leak in vt6655_probe 2019-10-17 13:45:11 -07:00
vt6656 staging: vt6656: Power save stop wake_up_count wrap around. 2020-04-29 16:31:33 +02:00
wilc1000 staging: wilc1000: fix error path cleanup in wilc_wlan_initialize() 2019-09-16 08:22:17 +02:00
wlan-ng staging: wlan-ng: fix out of bounds read in prism2sta_probe_usb() 2020-09-17 13:45:28 +02:00
xgifb
Kconfig
Makefile