linux/drivers/media/platform/davinci
Mauro Carvalho Chehab 693035dceb media: vpbe_display: properly handle error case
if v4l2_subdev_call(..., VENC_GET_FLD,...) fails, it
currently returns a random value. Instead, return 1.

That's probably better than returning 0, as this is very
likely what happens in practice with the current code, as
as the probably of an unititialized 32 bits integer to
have an specific value (0, in this case), is 1/(2^32).

An alternative would be to return an error code, and
let the caller to hint, based on the past received
frame, but that sounds weird.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-04-17 05:29:32 -04:00
..
ccdc_hw_device.h media: davinci: make function arguments const 2017-10-31 07:18:07 -04:00
dm355_ccdc_regs.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
dm355_ccdc.c media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
dm644x_ccdc_regs.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
dm644x_ccdc.c media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
isif_regs.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
isif.c media: isif: reorder a statement to match coding style 2018-04-17 05:28:27 -04:00
Kconfig media: davinci: allow build vpbe_display with COMPILE_TEST 2018-04-17 05:11:10 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vpbe_display.c media: vpbe_display: properly handle error case 2018-04-17 05:29:32 -04:00
vpbe_osd_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpbe_osd.c media: davinci: fix an inconsistent ident 2018-04-17 05:28:47 -04:00
vpbe_venc_regs.h [media] media: Drop FSF's postal address from the source code files 2017-01-27 11:38:09 -02:00
vpbe_venc.c media: vpbe_venc: don't store return codes if they won't be used 2018-04-17 05:11:47 -04:00
vpbe.c media: davinci: get rid of lots of kernel-doc warnings 2018-04-17 05:12:14 -04:00
vpfe_capture.c media updates for v4.16-rc1 2018-02-06 11:27:48 -08:00
vpif_capture.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
vpif_capture.h [media] davinci: vpif_capture: fix start/stop streaming locking 2017-01-31 08:01:07 -02:00
vpif_display.c media: davinci: fix kernel-doc warnings 2017-11-30 04:18:53 -05: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
vpif.c media: vpif: don't generate a kernel-doc warning on a constant 2017-11-27 10:35:33 -05:00
vpif.h media: replace all <spaces><tab> occurrences 2018-01-04 13:15:05 -05:00
vpss.c media: vpss: fix annotations for vpss_regs_base2 2018-03-23 06:28:41 -04:00