alistair23-linux/include/media
Laurent Pinchart fd44aa9a25 [media] v4l: rcar-fcp: Don't force users to check for disabled FCP support
The rcar_fcp_enable() function immediately returns successfully when the
FCP device pointer is NULL to avoid forcing the users to check the FCP
device manually before every call. However, the stub version of the
function used when the FCP driver is disabled returns -ENOSYS
unconditionally, resulting in a different API contract for the two
versions of the function.

As a user that requires FCP support will fail at probe time when calling
rcar_fcp_get() if the FCP driver is disabled, the stub version of the
rcar_fcp_enable() function will only be called with a NULL FCP device.
We can thus return 0 unconditionally to align the behaviour with the
normal version of the function.

Reported-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-09 11:29:57 -03:00
..
blackfin
davinci [media] media/platform: convert drivers to use the new vb2_queue dev field 2016-07-08 14:39:21 -03:00
drv-intf [media] soc-camera/sh_mobile_csi2: remove unused driver 2016-08-24 06:35:19 -03:00
i2c [media] smiapp: Remove set_xclk() callback from hwconfig 2016-09-05 15:53:20 -03:00
cec-edid.h [media] cec-edid: add module for EDID CEC helper functions 2016-06-28 09:45:51 -03:00
cec.h [media] cec: limit the size of the transmit queue 2016-07-19 13:25:32 -03:00
i2c-addr.h
lirc.h [media] bz#75751: Move internal header file lirc.h to uapi/ 2015-11-17 06:47:43 -02:00
lirc_dev.h [media] doc-rst: Fix issues with RC documentation 2016-07-17 14:02:43 -03:00
media-device.h [media] media: Move media_device link_notify operation to an ops structure 2016-09-09 11:20:09 -03:00
media-devnode.h [media] mc-core.rst: fix a warning about an internal routine 2016-09-09 09:59:12 -03:00
media-entity.h [media] docs-rst: improve the kAPI documentation for the mediactl 2016-09-09 09:28:55 -03:00
rc-core.h Merge branch 'patchwork' into topic/docs-next 2016-07-23 07:59:19 -03:00
rc-map.h [media] rc-map.h: fix a Sphinx warning 2016-09-09 09:58:43 -03:00
rcar-fcp.h [media] v4l: rcar-fcp: Don't force users to check for disabled FCP support 2016-09-09 11:29:57 -03:00
soc_camera.h [media] v4l2: remove g/s_crop from video ops 2016-08-24 09:46:09 -03:00
tuner-types.h [media] doc-rst: Fix conversion for v4l2 core functions 2016-07-17 14:02:43 -03:00
tuner.h [media] v4l2-mc.h: move tuner PAD definitions to this new header 2016-02-01 07:19:44 -02:00
tveeprom.h [media] doc-rst: Fix conversion for v4l2 core functions 2016-07-17 14:02:43 -03:00
v4l2-async.h [media] v4l2-async: document the remaining stuff 2016-07-23 08:04:21 -03:00
v4l2-clk.h [media] v4l2-clk: add new definition: V4L2_CLK_NAME_SIZE 2015-11-17 15:19:11 -02:00
v4l2-common.h [media] v4l2-common.h: Add documentation for other functions 2016-07-23 08:04:21 -03:00
v4l2-ctrls.h [media] v4l2-ctrls.h: Fix some c:type references 2016-09-09 09:37:29 -03:00
v4l2-dev.h [media] docs-rst: use C domain for enum references on uapi 2016-09-09 09:37:11 -03:00
v4l2-device.h [media] v4l2-device.h: fix some doc tags 2016-09-09 09:41:12 -03:00
v4l2-dv-timings.h [media] v4l2-dv-timings.h: let kernel-doc parte the typedef argument 2016-09-09 09:44:14 -03:00
v4l2-event.h [media] v4l2-event.h: document all functions 2016-07-23 08:04:21 -03:00
v4l2-fh.h [media] v4l2-fh.h: add documentation for it 2016-07-23 08:04:21 -03:00
v4l2-flash-led-class.h [media] v4l2-flash-led-class.h: document v4l2_flash_ops 2016-09-09 10:19:35 -03:00
v4l2-image-sizes.h
v4l2-ioctl.h [media] v4l2-ioctl.h: document the remaining functions 2016-09-09 09:38:36 -03:00
v4l2-mc.h [media] doc-rst: Fix conversion for v4l2 core functions 2016-07-17 14:02:43 -03:00
v4l2-mediabus.h
v4l2-mem2mem.h [media] v4l2-mem2mem.h: make kernel-doc parse v4l2-mem2mem.h again 2016-09-09 10:13:58 -03:00
v4l2-of.h
v4l2-rect.h [media] v4l2-rect.h: new header with struct v4l2_rect helper functions 2016-04-20 16:11:33 -03:00
v4l2-subdev.h [media] v4l2-subdev.h: fix a typo at a kernel-doc markup 2016-09-09 10:20:12 -03:00
v4l2-tpg-colors.h [media] tpg: Export the tpg code from vivid as a module 2016-04-20 16:14:39 -03:00
v4l2-tpg.h [media] tpg: Export the tpg code from vivid as a module 2016-04-20 16:14:39 -03:00
videobuf-core.h
videobuf-dma-contig.h
videobuf-dma-sg.h
videobuf-dvb.h
videobuf-vmalloc.h
videobuf2-core.h [media] videobuf2-core.h: improve documentation 2016-09-09 10:17:39 -03:00
videobuf2-dma-contig.h dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
videobuf2-dma-sg.h [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
videobuf2-dvb.h [media] add media controller support to videobuf2-dvb 2016-02-10 07:23:41 -02:00
videobuf2-memops.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
videobuf2-v4l2.h [media] videobuf2-v4l2: document two helper functions 2016-09-09 10:19:06 -03:00
videobuf2-vmalloc.h [media] media: videobuf2: Replace videobuf2-core with videobuf2-v4l2 2015-10-01 08:48:18 -03:00
vsp1.h [media] v4l: vsp1: Remove deprecated DRM API 2016-06-20 20:09:10 -03:00