acrn-kernel/drivers/media/platform/davinci
Alexey Khoroshilov aa35dc3c71 media: DaVinci-VPBE: fix error handling in vpbe_initialize()
If vpbe_set_default_output() or vpbe_set_default_mode() fails,
vpbe_initialize() returns error code without releasing resources.

The patch adds error handling for that case.

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

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-12-03 14:39:43 -05:00
..
Kconfig
Makefile
ccdc_hw_device.h
dm355_ccdc.c
dm355_ccdc_regs.h
dm644x_ccdc.c
dm644x_ccdc_regs.h
isif.c
isif_regs.h
vpbe.c media: DaVinci-VPBE: fix error handling in vpbe_initialize() 2018-12-03 14:39:43 -05:00
vpbe_display.c media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00
vpbe_osd.c
vpbe_osd_regs.h
vpbe_venc.c
vpbe_venc_regs.h
vpfe_capture.c media: vidioc_cropcap -> vidioc_g_pixelaspect 2018-11-20 13:57:21 -05:00
vpif.c
vpif.h
vpif_capture.c
vpif_capture.h
vpif_display.c
vpif_display.h
vpss.c