include/media/v4l2-ctrls.h | 2 ++ 1 file changed, 2 insertions(+)
Added Support for unsigned 64 bit value
Signed-off-by: Sunny Patel <nueralspacetech@gmail.com>
---
include/media/v4l2-ctrls.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
index c32c46286441..7b2bc459f378 100644
--- a/include/media/v4l2-ctrls.h
+++ b/include/media/v4l2-ctrls.h
@@ -250,6 +250,7 @@ typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
* @cur.val: The control's current value, if the @type is represented via
* a u32 integer (see &enum v4l2_ctrl_type).
* @val: The control's new s32 value.
+ * @val64: The control's new u64 value.
* @p_def: The control's default value represented via a union which
* provides a standard way of accessing control types
* through a pointer (for compound controls only).
@@ -313,6 +314,7 @@ struct v4l2_ctrl {
void *p_array;
u32 p_array_alloc_elems;
s32 val;
+ u64 val64;
struct {
s32 val;
} cur;
--
2.43.0
On 31/08/2025 10:06, Sunny Patel wrote:
> Added Support for unsigned 64 bit value
>
> Signed-off-by: Sunny Patel <nueralspacetech@gmail.com>
> ---
> include/media/v4l2-ctrls.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h
> index c32c46286441..7b2bc459f378 100644
> --- a/include/media/v4l2-ctrls.h
> +++ b/include/media/v4l2-ctrls.h
> @@ -250,6 +250,7 @@ typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
> * @cur.val: The control's current value, if the @type is represented via
> * a u32 integer (see &enum v4l2_ctrl_type).
> * @val: The control's new s32 value.
> + * @val64: The control's new u64 value.
> * @p_def: The control's default value represented via a union which
> * provides a standard way of accessing control types
> * through a pointer (for compound controls only).
> @@ -313,6 +314,7 @@ struct v4l2_ctrl {
> void *p_array;
> u32 p_array_alloc_elems;
> s32 val;
> + u64 val64;
> struct {
> s32 val;
> } cur;
????
This patch makes no sense whatsoever. Rejecting.
Regards,
Hans
© 2016 - 2026 Red Hat, Inc.