Skip to contentSkip to conversation

media: v4l2-ctrls: Enable support for u64 value

PATCH In review Sunny Patel 2 participants 2 messages Aug 31, 2025 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: v4l2-ctrls: Enable support for u64 value

Added Support for unsigned 64 bit value

---
 include/media/v4l2-ctrls.h | 2 ++
 1 file changed, 2 insertions(+)
include/media/v4l2-ctrls.h +2 -0
index c32c46286441..7b2bc459f378 100644
@@ -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;
Signature · 1 line
2.43.0
#1 lore raw
Quoted 20 lines · Sunny Patel

Added Support for unsigned 64 bit value

---
 include/media/v4l2-ctrls.h | 2 ++
 1 file changed, 2 insertions(+)
include/media/v4l2-ctrls.h +1 -0
index c32c46286441..7b2bc459f378 100644
@@ -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).

include/media/v4l2-ctrls.h struct v4l2_ctrl { · line 320

Quoted 7 lines
include/media/v4l2-ctrls.h +1 -0
@@ -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