commit | 1d94aa369da073acff26fa98ad6b2168cb028ab1 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Tue Apr 06 08:12:21 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed May 19 12:57:06 2010 -0300 |
tree | c5b097743f3c9292fe39a8d1d4321e8337bbc312 | |
parent | ea64f8c2204cd8b9a95072c7ef85cc9a120a2693 [diff] |
V4L/DVB: video_ioctl2: do not replace arg with NULL for _IO() ioctls If the ioctl was defined without direction (e.g. _IO('o', 25)), then the arg as passed to vidioc_default was NULL instead of the original argument. Several ioctls in e.g. include/linux/dvb/video.h and audio.h use this type of ioctl to pass simple numerical values to the driver. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>