linux/drivers/media/platform/omap3isp
Laurent Pinchart f7c3f5ce17 [media] omap3isp: csiphy: Fix an uninitialized variable compiler warning
drivers/media/platform/omap3isp/ispcsiphy.c: In function
‘csiphy_routing_cfg’:
drivers/media/platform/omap3isp/ispcsiphy.c:71:57: warning: ‘shift’
may be used uninitialized in this function [-Wuninitialized]
drivers/media/platform/omap3isp/ispcsiphy.c:40:6: note: ‘shift’ was
declared here
The warning is a false positive but the compiler is right in
complaining. Fix it by using the correct enum data type for the iface
argument and adding a default case in the switch statement.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-12-27 17:35:11 -02:00
..
cfa_coef_table.h
gamma_table.h
isp.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
isp.h Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
ispccdc.c ARM: arm-soc: Header cleanups 2012-12-12 11:45:16 -08:00
ispccdc.h
ispccp2.c
ispccp2.h
ispcsi2.c [media] omap3isp: Replace printk with dev_* 2012-11-28 10:50:53 -02:00
ispcsi2.h
ispcsiphy.c [media] omap3isp: csiphy: Fix an uninitialized variable compiler warning 2012-12-27 17:35:11 -02:00
ispcsiphy.h [media] omap3isp: Configure CSI-2 phy based on platform data 2012-11-28 10:45:14 -02:00
isph3a_aewb.c
isph3a_af.c
isph3a.h
isphist.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
isphist.h
isppreview.c [media] omap3isp: preview: Add support for 8-bit formats at the sink pad 2012-11-28 10:51:40 -02:00
isppreview.h
ispqueue.c [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
ispqueue.h
ispreg.h [media] omap3isp: Add PHY routing configuration 2012-11-28 10:39:40 -02:00
ispresizer.c
ispresizer.h
ispstat.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
ispstat.h Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
ispvideo.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2012-12-13 19:22:22 -08:00
ispvideo.h
luma_enhance_table.h
Makefile
noise_filter_table.h