linux_dsm_epyc7002/drivers/media
Hans Verkuil 3c1350501c media: v4l2-dev/ioctl: require non-zero device_caps, verify sane querycap results
Now that all V4L2 drivers set device_caps in struct video_device, we can add
a check for this to ensure all future drivers fill this in.

Also verify that when the querycap ioctl is called the driver didn't mess
with the device_caps value and that capabilities is a superset of device_caps.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
[hverkuil-cisco@xs4all.nl: fix too-long line]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-07-25 06:28:51 -04:00
..
cec media: cec-notifier: add new notifier functions 2019-06-27 07:19:43 -04:00
common media: vb2-dc: skip CPU sync in map/unmap dma_buf 2019-07-23 11:46:27 -04:00
dvb-core media: dvb_frontend: split dvb_frontend_handle_ioctl function 2019-06-27 07:24:12 -04:00
dvb-frontends media: si2168: add support for Mygica T230C v2 2019-07-22 15:30:28 -04:00
firewire treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
i2c media: media/i2c: don't return ENOTTY if SUBDEV_API is not set 2019-07-23 11:47:09 -04:00
mc Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
mmc treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
pci media: saa7134: remove redundant assignment to variable value 2019-07-23 11:44:56 -04:00
platform media: marvell-ccic: mmp: add MODULE_DEVICE_TABLE 2019-07-25 06:27:14 -04:00
radio media: radio-raremono: change devm_k*alloc to k*alloc 2019-06-27 07:35:24 -04:00
rc media: mceusb: USB reset device following USB clear halt error 2019-07-22 15:29:53 -04:00
spi Linux 5.2-rc4 2019-06-11 12:09:28 -04:00
tuners media updates for v5.3-rc1 2019-07-09 09:47:22 -07:00
usb media: hdpvr: Add device num check and handling 2019-07-25 06:23:35 -04:00
v4l2-core media: v4l2-dev/ioctl: require non-zero device_caps, verify sane querycap results 2019-07-25 06:28:51 -04:00
Kconfig media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00
Makefile media: move drivers/media/media-* to drivers/media/mc/mc-* 2019-05-28 12:15:46 -04:00