android_kernel_xiaomi_sm8350/drivers/media/common
Trent Piepho f911eab66d V4L/DVB (11261): saa7146: Remove buffer type check from vidioc_g_parm
The v4l2-ioctl core now only allows buffer types for which the
corresponding ->vidioc_try_fmt_xxx() methods are defined to be used with
vidioc_(g|s)_parm.

The driver was only allowing VIDEO_CAPTURE buffers for g_parm, but since
the driver defines ->vidioc_try_fmt_vid_overlay() it will now allow
VIDEO_OVERLAY buffers as well.  This should be fine as the fields the
driver fills in, readbuffers and frame rate, aren't wrong for VIDEO_OVERLAY
buffers.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-03-30 12:43:44 -03:00
..
tuners V4L/DVB (11236): tda827x: fix locking issues with DVB-C 2009-03-30 12:43:42 -03:00
ir-functions.c
ir-keymaps.c V4L/DVB (10744): dm1105: infrared remote code is remaked. 2009-03-30 12:43:00 -03:00
Kconfig
Makefile
saa7146_core.c V4L/DVB (10502): saa7146: move v4l2 device registration to saa7146_vv. 2009-03-30 12:42:42 -03:00
saa7146_fops.c V4L/DVB (10502): saa7146: move v4l2 device registration to saa7146_vv. 2009-03-30 12:42:42 -03:00
saa7146_hlp.c
saa7146_i2c.c V4L/DVB (10843): saa7146: Clean-up i2c error handling 2009-03-30 12:43:08 -03:00
saa7146_vbi.c
saa7146_video.c V4L/DVB (11261): saa7146: Remove buffer type check from vidioc_g_parm 2009-03-30 12:43:44 -03:00