Re: [PATCH v3] v4l2-subdev: Allow 32-bit compat ioctls

2014-02-07 Thread Sakari Ailus
Hi Hans, Thanks for the update. On Fri, Feb 07, 2014 at 03:10:34PM +0100, Hans Verkuil wrote: ... > diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h > index d67210a..84b7cce 100644 > --- a/include/media/v4l2-subdev.h > +++ b/include/media/v4l2-subdev.h > @@ -162,6 +162,9 @@

[PATCH v3] v4l2-subdev: Allow 32-bit compat ioctls

2014-02-07 Thread Hans Verkuil
Add support for 32-bit ioctls with v4l-subdev device nodes. Rather than keep adding new ioctls to the list in v4l2-compat-ioctl32.c, just check if the ioctl is a non-private V4L2 ioctl and if so, call the conversion code. We keep forgetting to add new ioctls, so this is a more robust solution.