diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2009-03-29 03:25:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 17:43:44 +0200 |
commit | f911eab66d892b7cf9c3e59de7716b89827a42c1 (patch) | |
tree | f29ca311e04cd783c068311c4023513a289738c5 /drivers/media/video/bt856.c | |
parent | V4L/DVB (11260): v4l2-ioctl: Check format for S_PARM and G_PARM (diff) | |
download | linux-f911eab66d892b7cf9c3e59de7716b89827a42c1.tar.xz linux-f911eab66d892b7cf9c3e59de7716b89827a42c1.zip |
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>
Diffstat (limited to 'drivers/media/video/bt856.c')
0 files changed, 0 insertions, 0 deletions