linux/drivers/media/platform/davinci
Peter Senna Tschudin 9a888ba273 [media] drivers/media/platform/davinci/vpfe_capture.c: fix error return code
Convert a nonnegative error return code to a negative one, as returned
elsewhere in the function.
A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)
// <smpl>
(
if@p1 (\(ret < 0\|ret != 0\))
 { ... return ret; }
|
ret@p1 = 0
)
... when != ret = e1
    when != &ret
*if(...)
{
  ... when != ret = e2
      when forall
 return ret;
}
// </smpl>

Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com>
Cc: Prabhakar Lad <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-09-23 13:46:08 -03:00
..
ccdc_hw_device.h
dm355_ccdc_regs.h
dm355_ccdc.c
dm644x_ccdc_regs.h
dm644x_ccdc.c
isif_regs.h
isif.c
Kconfig
Makefile
vpbe_display.c
vpbe_osd_regs.h
vpbe_osd.c
vpbe_venc_regs.h
vpbe_venc.c
vpbe.c
vpfe_capture.c [media] drivers/media/platform/davinci/vpfe_capture.c: fix error return code 2012-09-23 13:46:08 -03:00
vpif_capture.c
vpif_capture.h
vpif_display.c
vpif_display.h
vpif.c
vpif.h
vpss.c