linux/drivers/media
Christophe JAILLET 2143ad413c media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()'
A successful 'clk_prepare()' call should be balanced by a corresponding
'clk_unprepare()' call in the error handling path of the probe, as already
done in the remove function.

Update the error handling path accordingly.

Fixes: 3003a180ef ("[media] VPU: mediatek: support Mediatek VPU")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Houlong Wei <houlong.wei@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-09-30 10:07:55 +02:00
..
cec media: cec-pin: fix off-by-one SFT check 2021-09-30 10:07:54 +02:00
common media: siano: use DEFINE_MUTEX() for mutex lock 2021-09-30 10:07:43 +02:00
dvb-core media: dvb-core: frontend: make GET/SET safer 2021-06-17 09:29:11 +02:00
dvb-frontends media: cxd2820r: include the right header 2021-09-30 10:07:43 +02:00
firewire media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 2021-09-30 10:07:54 +02:00
i2c media: TDA1997x: handle short reads of hdmi info frame. 2021-09-30 10:07:54 +02:00
mc media: mc-device.c: use DEVICE_ATTR_RO() helper macro 2021-08-04 14:43:50 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: ipu3-cio2: Introduce to_cio2_device() helper macro 2021-09-30 10:07:45 +02:00
platform media: mtk-vpu: Fix a resource leak in the error handling path of 'mtk_vpu_probe()' 2021-09-30 10:07:55 +02:00
radio media: radio: si4713: constify static struct v4l2_ioctl_ops 2021-06-02 13:26:11 +02:00
rc media: rc: sunxi-cir: Make use of the helper function devm_platform_ioremap_resource() 2021-09-30 10:07:51 +02:00
spi media: cxd2880-spi: Fix a null pointer dereference on error handling path 2021-09-30 10:07:40 +02:00
test-drivers media: vidtv: Fix memory leak in remove 2021-09-30 10:07:53 +02:00
tuners media: tuners: mxl5007t: Removed unnecessary 'return' 2021-09-30 10:07:40 +02:00
usb media: usb: airspy: clean the freed pointer and counter 2021-09-30 10:07:54 +02:00
v4l2-core media: v4l2-ioctl: S_CTRL output the right value 2021-09-30 10:07:47 +02:00
Kconfig media: Correct 'so' 2021-03-22 11:52:09 +01:00
Makefile