]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB: video_ioctl2: handle the v4l1 compat bit first and move VIDIOCGMBUF into...
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 6 Apr 2010 18:56:08 +0000 (15:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:57:10 +0000 (12:57 -0300)
commit76168064df40ea9611c63d077e9321c06ce972fc
tree66ac33312b2d5b3888cfbd6bedb65451ab28a89b
parenteca863f41764a0b0e8790ae114c55be3e69d64f9
V4L/DVB: video_ioctl2: handle the v4l1 compat bit first and move VIDIOCGMBUF into the switch

Try to make a more sensible sequence of events in __video_do_ioctl: first
check for a valid ops pointer, then get the compat part done. The VIDIOCGMBUF
command is now part of the big switch.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ioctl.c