linux_dsm_epyc7002/drivers/media/v4l2-core
Hans Verkuil 3103c7b4ad media: v4l2-subdev: without controls return -ENOTTY
If the subdev did not define any controls, then return -ENOTTY if
userspace attempts to call these ioctls.

The control framework functions will return -EINVAL, not -ENOTTY if
vfh->ctrl_handler is NULL.

Several of these framework functions are also called directly from
drivers, so I don't want to change the error code there.

Found with vimc and v4l2-compliance.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-02-26 09:32:59 -05:00
..
Kconfig media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
Makefile media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
tuner-core.c media: v4l2-core: Fix kernel-doc markups 2017-11-30 04:18:53 -05:00
v4l2-async.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
v4l2-clk.c
v4l2-common.c media: v4l2-common: create v4l2_g/s_parm_cap helpers 2018-02-22 12:25:33 -05:00
v4l2-compat-ioctl32.c media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs 2018-01-31 03:09:04 -05:00
v4l2-ctrls.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
v4l2-dev.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
v4l2-device.c
v4l2-dv-timings.c media: v4l2-dv-timings: add v4l2_hdmi_colorimetry() 2018-02-22 12:41:09 -05:00
v4l2-event.c
v4l2-fh.c
v4l2-flash-led-class.c
v4l2-fwnode.c media: v4l2-async: simplify v4l2_async_subdev structure 2017-12-29 07:14:28 -05:00
v4l2-ioctl.c media: v4l-ioctl: fix clearing pad for VIDIOC_DV_TIMINGS_CAP 2018-02-22 12:41:39 -05:00
v4l2-mc.c media: v4l2-core: v4l2-mc: Add SPDX license identifier 2018-02-26 07:42:03 -05:00
v4l2-mem2mem.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
v4l2-subdev.c media: v4l2-subdev: without controls return -ENOTTY 2018-02-26 09:32:59 -05:00
v4l2-trace.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vb2-trace.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
videobuf-core.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
videobuf-dma-contig.c
videobuf-dma-sg.c v4l2: disable filesystem-dax mapping support 2017-11-29 18:40:42 -08:00
videobuf-dvb.c
videobuf-vmalloc.c