linux_dsm_epyc7002/drivers/media/platform/davinci
Wei Yongjun 63af4af592 [media] davinci: vpif_display: fix return type check for v4l2_subdev_call()
The v4l2_subdev_call() call returns -ENODEV when subdev is
null and -ENOIOCTLCMD wnen no icotl is present.
This patch fixes the return type check for v4l2_subdev_call().
The pattern E == C1 && E == C2 is always false. This patch
fix this according to the assumption that && should be ||.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
[prabhakar.lad@ti.com: reword commit messaage]
Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-11-22 12:20:13 -02:00
..
ccdc_hw_device.h
dm355_ccdc_regs.h
dm355_ccdc.c [media] media:davinci: clk - {prepare/unprepare} for common clk 2012-11-21 15:06:57 -02:00
dm644x_ccdc_regs.h
dm644x_ccdc.c [media] media:davinci: clk - {prepare/unprepare} for common clk 2012-11-21 15:06:57 -02:00
isif_regs.h
isif.c [media] media:davinci: clk - {prepare/unprepare} for common clk 2012-11-21 15:06:57 -02:00
Kconfig [media] media: davinci: vpbe: migrate driver to videobuf2 2012-11-21 13:55:10 -02:00
Makefile
vpbe_display.c [media] media: davinci: vpbe: set device capabilities 2012-11-21 14:47:54 -02:00
vpbe_osd_regs.h
vpbe_osd.c [media] media: davinci: vpbe: fix build warning 2012-11-21 13:53:28 -02:00
vpbe_venc_regs.h
vpbe_venc.c
vpbe.c [media] media:davinci: clk - {prepare/unprepare} for common clk 2012-11-21 15:06:57 -02:00
vpfe_capture.c
vpif_capture.c [media] davinci: vpif_capture: fix return type check for v4l2_subdev_call() 2012-11-22 12:17:02 -02:00
vpif_capture.h
vpif_display.c [media] davinci: vpif_display: fix return type check for v4l2_subdev_call() 2012-11-22 12:20:13 -02:00
vpif_display.h
vpif.c [media] media:davinci: clk - {prepare/unprepare} for common clk 2012-11-21 15:06:57 -02:00
vpif.h
vpss.c