2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/drivers/media/platform/vivid
Hans Verkuil 0d0abef8d4 [media] vivid: return -ENODATA if the current input doesn't support g/s_selection
Returning -EINVAL indicates wrong arguments, but that's not the case
here.

Returning -ENOTTY is also no option, since the ioctl is implemented, but
it just is not valid for this input.

So use -ENODATA instead. This is also used elsewhere when an ioctl isn't
valid for a specific input.

In this case G/S_SELECTION returned -EINVAL for the webcam input. That
input doesn't support cropping, instead it uses ENUM_FRAMESIZES to
enumerate a list of discrete frame sizes.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-08-24 09:57:01 -03:00
..
Kconfig [media] vivid: add CEC emulation 2016-06-28 11:31:16 -03:00
Makefile [media] vivid: add CEC emulation 2016-06-28 11:31:16 -03:00
vivid-cec.c [media] vivid: don't handle CEC_MSG_SET_STREAM_PATH 2016-07-28 20:15:23 -03:00
vivid-cec.h [media] vivid: add CEC emulation 2016-06-28 11:31:16 -03:00
vivid-core.c [media] vivid: fix typo causing incorrect CEC physical addresses 2016-07-15 13:20:28 -03:00
vivid-core.h [media] vivid: add CEC emulation 2016-06-28 11:31:16 -03:00
vivid-ctrls.c [media] vivid: don't mention the obsolete sYCC Y'CbCr encoding 2016-08-24 08:18:21 -03:00
vivid-ctrls.h
vivid-kthread-cap.c [media] vivid: add CEC emulation 2016-06-28 11:31:16 -03:00
vivid-kthread-cap.h [media] vivid: add the kthread code that controls the video rate 2014-09-02 17:41:54 -03:00
vivid-kthread-out.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-kthread-out.h [media] vivid: add the kthread code that controls the video rate 2014-09-02 17:41:54 -03:00
vivid-osd.c [media] media: platform: vivid: vivid-osd: Remove unnecessary cast to kfree 2016-02-10 09:29:02 -02:00
vivid-osd.h [media] vivid: add a simple framebuffer device for overlay testing 2014-09-02 17:42:53 -03:00
vivid-radio-common.c [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-common.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-rx.c [media] vivid-radio-rx: Don't go past buffer 2015-04-30 14:28:58 -03:00
vivid-radio-rx.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-tx.c [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-tx.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-rds-gen.c [media] vivid: fix smatch errors 2016-04-20 15:47:33 -03:00
vivid-rds-gen.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-sdr-cap.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
vivid-sdr-cap.h [media] vivid: SDR cap add 'CU08' Complex U8 format 2015-05-30 11:40:38 -03:00
vivid-vbi-cap.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
vivid-vbi-cap.h [media] vivid: add VBI capture and output code 2014-09-02 17:19:27 -03:00
vivid-vbi-gen.c [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
vivid-vbi-gen.h [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
vivid-vbi-out.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
vivid-vbi-out.h [media] vivid: add VBI capture and output code 2014-09-02 17:19:27 -03:00
vivid-vid-cap.c [media] vivid: return -ENODATA if the current input doesn't support g/s_selection 2016-08-24 09:57:01 -03:00
vivid-vid-cap.h [media] vivid: add the video capture and output parts 2014-09-02 17:15:26 -03:00
vivid-vid-common.c [media] vivid: add CEC emulation 2016-06-28 11:31:16 -03:00
vivid-vid-common.h [media] vivid: use new v4l2-rect.h header 2016-04-20 16:13:31 -03:00
vivid-vid-out.c [media] vb2: replace void *alloc_ctxs by struct device *alloc_devs 2016-07-08 14:45:07 -03:00
vivid-vid-out.h [media] vivid: remove duplicate and unused g/s_edid functions 2014-09-08 10:00:57 -03:00