From: Hans Verkuil Date: Mon, 10 Apr 2017 19:15:26 +0000 (-0300) Subject: [media] videodev.h: add V4L2_CTRL_FLAG_MODIFY_LAYOUT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6df8be763115a0ce6b486ea304742e5646f74287;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] videodev.h: add V4L2_CTRL_FLAG_MODIFY_LAYOUT Add new flag to indicate that changing this control will change the buffer/mediabus layout as well. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 75f032448ae5..2b8feb86d09e 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -1659,6 +1659,7 @@ struct v4l2_querymenu { #define V4L2_CTRL_FLAG_VOLATILE 0x0080 #define V4L2_CTRL_FLAG_HAS_PAYLOAD 0x0100 #define V4L2_CTRL_FLAG_EXECUTE_ON_WRITE 0x0200 +#define V4L2_CTRL_FLAG_MODIFY_LAYOUT 0x0400 /* Query flags, to be ORed with the control ID */ #define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000