From: Hans Verkuil Date: Mon, 10 Feb 2014 11:08:44 +0000 (-0300) Subject: [media] v4l2-subdev: Allow 32-bit compat ioctls X-Git-Tag: v3.15-rc1~85^2~361 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab58a30162f0383c06388af522bc889a5da38fc6;p=pandora-kernel.git [media] v4l2-subdev: Allow 32-bit compat ioctls 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. In addition extend the subdev API with support for a compat32 function to convert custom v4l-subdev ioctls. Signed-off-by: Hans Verkuil Tested-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed