mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 23:48:53 +07:00
media: v4l2-compat-ioctl32.c: add missing VIDIOC_PREPARE_BUF
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> Cc: <stable@vger.kernel.org> # for v4.15 and up Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
181a4a2d5a
commit
3ee6d04071
@ -1052,6 +1052,7 @@ static long do_video_ioctl(struct file *file, unsigned int cmd, unsigned long ar
|
||||
err = put_v4l2_create32(&karg.v2crt, up);
|
||||
break;
|
||||
|
||||
case VIDIOC_PREPARE_BUF:
|
||||
case VIDIOC_QUERYBUF:
|
||||
case VIDIOC_QBUF:
|
||||
case VIDIOC_DQBUF:
|
||||
|
Loading…
Reference in New Issue
Block a user