summaryrefslogtreecommitdiff
path: root/v4l/scripts/config.saa7134
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-03-28 18:25:36 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2009-03-28 18:25:36 -0700
commitd52037715e9e029fa316efb4a5a445c339b170cb (patch)
tree05f235b36795eb69c7c84b4af5ba38c07938ac13 /v4l/scripts/config.saa7134
parent552402f4297b8ba2fb1631079e66d1755b181796 (diff)
downloadmediapointer-dvb-s2-d52037715e9e029fa316efb4a5a445c339b170cb.tar.gz
mediapointer-dvb-s2-d52037715e9e029fa316efb4a5a445c339b170cb.tar.bz2
zr364xx: Remove code for things already done by video_ioctl2
From: Trent Piepho <xyzzy@speakeasy.org> The ->vidioc_(s|g|try|enum)_fmt_vid_cap() methods are only called on VIDEO_CAPTURE buffers. Thus, there is no need to check or set the buffer's 'type' field since it must already be set to VIDEO_CAPTURE. Checking the buffer type can be removed from zr364xx_vidioc_(s|g|try|enum)_fmt_vid_cap(). The v4l2 core code in v4l2_ioctl will zero out the structure the driver is supposed to fill in for read-only ioctls. For read/write ioctls, all the fields which aren't supplied from userspace will be zeroed out. Zeroing code can be removed from zr364xx_vidioc_querycap(), zr364xx_vidioc_enum_input(), zr364xx_vidioc_enum_fmt_vid_cap(), and zr364xx_vidioc_g_fmt_vid_cap(). Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> CC: Antoine Jacquet <royale@zerezo.com>
Diffstat (limited to 'v4l/scripts/config.saa7134')
0 files changed, 0 insertions, 0 deletions