linux-stable/drivers/media
Evgeny Novikov d18cbd381c media: vpss: clean up resources in init
[ Upstream commit 9c487b0b0e ]

If platform_driver_register() fails within vpss_init() resources are not
cleaned up. The patch fixes this issue by introducing the corresponding
error handling.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Evgeny Novikov <novikov@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-26 10:29:56 +02:00
..
cec media: cec: silence shift wrapping warning in __cec_s_log_addrs() 2020-06-20 10:25:11 +02:00
common media: v4l2-tpg: array index could become negative 2019-01-09 17:14:51 +01:00
dvb-core media: dvb-core: fix a memory leak bug 2019-10-05 12:47:54 +02:00
dvb-frontends tua6100: Avoid build warnings. 2019-07-31 07:28:22 +02:00
firewire media: firewire: Using uninitialized values in node_probe() 2020-08-21 09:48:08 +02:00
i2c media: ov5640: fix use of destroyed mutex 2020-06-20 10:25:18 +02:00
mmc
pci media: budget-core: Improve exception handling in budget_register() 2020-08-26 10:29:55 +02:00
platform media: vpss: clean up resources in init 2020-08-26 10:29:56 +02:00
radio media: si470x-i2c: Move free() past last use of 'radio' 2020-02-05 14:18:17 +00:00
rc media: iguanair: fix endpoint sanity check 2020-02-14 16:32:06 -05:00
spi
tuners media: si2157: Better check for running tuner in init 2020-06-20 10:25:07 +02:00
usb media: go7007: fix a miss of snd_card_free 2020-06-20 10:25:18 +02:00
v4l2-core media/v4l2-core: set pages dirty upon releasing DMA buffers 2020-02-14 16:32:08 -05:00
Kconfig
Makefile
media-device.c media: mc-device.c: don't memset __user pointer contents 2019-07-31 07:28:22 +02:00
media-devnode.c
media-entity.c