Commit 9864a1ef authored by Hans Verkuil's avatar Hans Verkuil Committed by Greg Kroah-Hartman

media: atomisp_fops.c: disable atomisp_compat_ioctl32

commit 57e6b6f2 upstream.

The atomisp_compat_ioctl32() code has problems. This patch disables the
compat_ioctl32 support until those issues have been fixed.

Contact Sakari or me for more details.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Cc: <stable@vger.kernel.org>      # for v4.12 and up
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9629964f
......@@ -1285,7 +1285,10 @@ const struct v4l2_file_operations atomisp_fops = {
.mmap = atomisp_mmap,
.unlocked_ioctl = video_ioctl2,
#ifdef CONFIG_COMPAT
/*
* There are problems with this code. Disable this for now.
.compat_ioctl32 = atomisp_compat_ioctl32,
*/
#endif
.poll = atomisp_poll,
};
......@@ -1297,7 +1300,10 @@ const struct v4l2_file_operations atomisp_file_fops = {
.mmap = atomisp_file_mmap,
.unlocked_ioctl = video_ioctl2,
#ifdef CONFIG_COMPAT
/*
* There are problems with this code. Disable this for now.
.compat_ioctl32 = atomisp_compat_ioctl32,
*/
#endif
.poll = atomisp_poll,
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment