linux-uconsole/drivers/media/platform
Arnd Bergmann 7fb33fb721 am437x-vfpe: fix typo in vpfe_get_app_input_index
commit 0fb5040011 upstream.

gcc-6 points out an obviously silly comparison in vpfe_get_app_input_index():

drivers/media/platform/am437x/am437x-vpfe.c: In function 'vpfe_get_app_input_index':
drivers/media/platform/am437x/am437x-vpfe.c:1709:27: warning: self-comparison always evaluats to true [-Wtautological-compare]
       client->adapter->nr == client->adapter->nr) {
                           ^~

This was introduced in a slighly incorrect conversion, and it's
clear that the comparison was meant to compare the iterator
to the current subdev instead, as we do in the line above.

Fixes: d37232390f ("[media] media: am437x-vpfe: match the OF node/i2c addr instead of name")

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-30 10:18:35 +02:00
..
am437x am437x-vfpe: fix typo in vpfe_get_app_input_index 2016-09-30 10:18:35 +02:00
blackfin [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
coda coda: fix error path in case of missing pdata on non-DT platform 2016-04-20 15:42:09 +09:00
davinci [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
exynos-gsc [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
exynos4-is [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
marvell-ccic [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
omap media updates for v4.3-rc1 2015-09-11 16:42:39 -07:00
omap3isp [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
s3c-camif [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
s5p-g2d [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
s5p-jpeg [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
s5p-mfc s5p-mfc: Add release callback for memory region devs 2016-08-20 18:09:19 +02:00
s5p-tv [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
soc_camera [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
sti media updates for v4.4-rc1 2015-11-05 12:05:15 -08:00
ti-vpe [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
vivid [media] media/vivid-osd: fix info leak in ioctl 2015-10-20 15:34:29 -02:00
vsp1 v4l: vsp1: Set the SRU CTRL0 register when starting the stream 2016-04-20 15:42:09 +09:00
xilinx [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] fsl-viu: drop format names 2015-08-11 06:59:09 -03:00
Kconfig [media] VIDEO_RENESAS_JPU should depend on HAS_DMA 2015-10-03 10:01:48 -03:00
m2m-deinterlace.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
Makefile [media] c8sectpfe: Add Kconfig and Makefile for the driver 2015-08-11 16:08:29 -03:00
mx2_emmaprp.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
rcar_jpu.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
sh_veu.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
sh_vou.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00
timblogiw.c media: platform: drop owner assignment from platform_drivers 2014-10-20 16:20:44 +02:00
via-camera.c [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
via-camera.h
vim2m.c [media] media: videobuf2: Change queue_setup argument 2015-10-20 14:48:39 -02:00