V4L/DVB (9906): v4l2-compat: test for unlocked_ioctl as well.
commit3ca81a55256f38d9a8a4d5e9a6a9288ddc672e19
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 16 Dec 2008 11:32:37 +0000 (16 08:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Dec 2008 18:43:59 +0000 (16 16:43 -0200)
tree9f95669e5569d7b26df4c20a35d387403fdcbc5d
parent8b21c1e90e633aee3363e3d87e1a0b829bdb420e
V4L/DVB (9906): v4l2-compat: test for unlocked_ioctl as well.

The v4l_compat_ioctl32() function only tested for the presence of the
ioctl op, not for unlocked_ioctl. So it would always return an error
when used with drivers that use unlocked_ioctl instead of ioctl.

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