From: Hans Verkuil Date: Mon, 25 Aug 2014 12:03:36 +0000 (+0200) Subject: CHROMIUM: videodev2.h: add V4L2_CTRL_FLAG_CAN_STORE X-Git-Tag: firefly_0821_release~2331 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cdf30351ab47c0daf134229063e4f8b2fd37ec0d;p=firefly-linux-kernel-4.4.55.git CHROMIUM: videodev2.h: add V4L2_CTRL_FLAG_CAN_STORE Controls that have a configuration store will set this flag. Signed-off-by: Hans Verkuil BUG=chrome-os-partner:33728 TEST=build Signed-off-by: Pawel Osciak Reviewed-on: https://chromium-review.googlesource.com/232581 Trybot-Ready: Tomasz Figa Tested-by: Tomasz Figa Reviewed-by: Wu-cheng Li Commit-Queue: Tomasz Figa Signed-off-by: Yakir Yang Conflicts: include/uapi/linux/videodev2.h [rebase44(groeck): Resolved conflicts] Signed-off-by: Guenter Roeck Change-Id: I88ccf65a5c6f11381cfacb4c328b589194f249ec Signed-off-by: Jeffy Chen Signed-off-by: Yakir Yang --- diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index bd2dc9431ac1..62449b5ad395 100644 --- a/include/uapi/linux/videodev2.h +++ b/include/uapi/linux/videodev2.h @@ -1568,6 +1568,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_CAN_STORE 0x0400 /* Query flags, to be ORed with the control ID */ #define V4L2_CTRL_FLAG_NEXT_CTRL 0x80000000