linux/drivers/media/platform/davinci
Arnd Bergmann d3d83ee20a [media] DaVinci-VPFE-Capture: fix error handling
A recent cleanup had the right idea to remove the initialization
of the error variable, but missed the actual benefit of that,
which is that we get warnings if there is a bug in it. Now
we get a warning about a bug that was introduced by this cleanup:

drivers/media/platform/davinci/vpfe_capture.c: In function 'vpfe_probe':
drivers/media/platform/davinci/vpfe_capture.c:1992:9: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]

This adds the missing initialization that the warning is about,
and another one that was preexisting and that we did not get
a warning for. That second bug has existed since the driver
was first added.

Fixes: efb74461f5 ("[media] DaVinci-VPFE-Capture: Delete an unnecessary variable initialisation in vpfe_probe()")
Fixes: 7da8a6cb3e ("V4L/DVB (12248): v4l: vpfe capture bridge driver for DM355 and DM6446")

[mchehab@s-opensource.com: fix a merge conflict]
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-11-25 07:57:07 -02:00
..
Kconfig [media] davinci: add i2c Kconfig dependencies 2015-11-19 12:03:52 -02:00
Makefile [media] media: davinci: kconfig: fix incorrect selects 2013-04-14 20:06:36 -03:00
ccdc_hw_device.h [media] davinci: drop unused control callbacks 2016-07-12 11:12:00 -03:00
dm355_ccdc.c [media] davinci: don't break long lines 2016-10-21 09:29:45 -02:00
dm355_ccdc_regs.h [media] davinci: more gama -> gamma typo fixes 2013-03-19 16:16:23 -03:00
dm644x_ccdc.c [media] davinci: don't break long lines 2016-10-21 09:29:45 -02:00
dm644x_ccdc_regs.h
isif.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
isif_regs.h [media] davinci: more gama -> gamma typo fixes 2013-03-19 16:16:23 -03:00
vpbe.c [media] DaVinci-VPBE: Check return value of a setup_if_config() call in vpbe_set_output() 2016-11-16 15:24:37 -02:00
vpbe_display.c [media] vpbe_display: convert g/s_crop to g/s_selection 2016-08-24 09:52:53 -03:00
vpbe_osd.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
vpbe_osd_regs.h
vpbe_venc.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
vpbe_venc_regs.h
vpfe_capture.c [media] DaVinci-VPFE-Capture: fix error handling 2016-11-25 07:57:07 -02:00
vpif.c media: platform: davinci: drop owner assignment from platform_drivers 2014-10-20 16:20:45 +02:00
vpif.h [media] davinci: vpif: Fix module build for capture and display 2013-03-23 10:38:10 -03:00
vpif_capture.c [media] DaVinci-VPIF-Capture: Delete an unnecessary variable initialisation in vpif_channel_isr() 2016-11-16 13:01:12 -02:00
vpif_capture.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:39:21 -03:00
vpif_display.c [media] DaVinci-VPIF-Display: Delete an unnecessary variable initialisation in process_progressive_mode() 2016-11-16 13:04:14 -02:00
vpif_display.h [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:39:21 -03:00
vpss.c [media] davinci: don't break long lines 2016-10-21 09:29:45 -02:00