summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-03-03 15:44:45 -0800
committerTrent Piepho <xyzzy@speakeasy.org>2009-03-03 15:44:45 -0800
commit076025d4e103147cbc6a8ad177824e15ff0143d9 (patch)
tree50e49e7e328ece284d10166dfcccfdf5c625b28a /v4l
parent66457790914e610bc7f372d47794cee4304ba959 (diff)
downloadmediapointer-dvb-s2-076025d4e103147cbc6a8ad177824e15ff0143d9.tar.gz
mediapointer-dvb-s2-076025d4e103147cbc6a8ad177824e15ff0143d9.tar.bz2
v4l2: Move code to zero querybuf output struct to v4l2_ioctl
From: Trent Piepho <xyzzy@speakeasy.org> 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. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'v4l')
0 files changed, 0 insertions, 0 deletions