mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 00:06:39 +07:00
9cfb6a3f1b
For VIDIOC_QUERYBUF only the first two fields, size and type, are used as input. The rest can be filled in by the driver as output. Most drivers do not actually use all the field and unused ones should be zeroed out. Some drivers have code to do this and some drivers should but don't. So put some zero out code in v4l2_ioctl so that all drivers using that system get it. The drivers that have zeroing code get that code removed. Some drivers checked that the type field was valid, but v4l2_ioctl already does this so those checks can be removed as well. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
videocodec.c | ||
videocodec.h | ||
zoran_card.c | ||
zoran_card.h | ||
zoran_device.c | ||
zoran_device.h | ||
zoran_driver.c | ||
zoran_procfs.c | ||
zoran_procfs.h | ||
zoran.h | ||
zr36016.c | ||
zr36016.h | ||
zr36050.c | ||
zr36050.h | ||
zr36057.h | ||
zr36060.c | ||
zr36060.h |