media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 14 Feb 2018 11:44:24 +0000 (12:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Feb 2018 19:23:01 +0000 (20:23 +0100)
commit2b991eeb5cfb34838c4e984334e5975d3351c026
treed87279364f55cb3340a6f2de8e33a75bfae47d09
parent2d280dab382eef93311f089da0bb428336431208
media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF

commit 3ee6d040719ae09110e5cdf24d5386abe5d1b776 upstream.

The result of the VIDIOC_PREPARE_BUF ioctl was never copied back
to userspace since it was missing in the switch.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/v4l2-core/v4l2-compat-ioctl32.c