The patch number 9906 was added via Hans Verkuil <hverk...@xs4all.nl> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: v4l-dvb-maintai...@linuxtv.org ------ From: Hans Verkuil <hverk...@xs4all.nl> 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. Priority: high Signed-off-by: Hans Verkuil <hverk...@xs4all.nl> --- linux/drivers/media/video/v4l2-compat-ioctl32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -r 3150f8a90d3f -r c81af7a1a20a linux/drivers/media/video/v4l2-compat-ioctl32.c --- a/linux/drivers/media/video/v4l2-compat-ioctl32.c Mon Dec 15 11:19:20 2008 +0100 +++ b/linux/drivers/media/video/v4l2-compat-ioctl32.c Tue Dec 16 12:32:37 2008 +0100 @@ -887,7 +887,7 @@ long v4l_compat_ioctl32(struct file *fil { int ret = -ENOIOCTLCMD; - if (!file->f_op->ioctl) + if (!file->f_op->ioctl && !file->f_op->unlocked_ioctl) return ret; switch (cmd) { --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/c81af7a1a20a681103782beae7fe858fbe635458 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits