]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: Documentation: mali-c55: Use v4l2-isp version identifier
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Mon, 15 Dec 2025 12:15:57 +0000 (13:15 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 6 Jan 2026 09:14:13 +0000 (10:14 +0100)
The Mali C55 driver uses the v4l2-isp framework, which defines its own
versioning numbers.

Do not use the Mali C55 specific version identifier in the code example
in the documentation of the Mali C55 stats and params metadata formats.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Documentation/userspace-api/media/v4l/metafmt-arm-mali-c55.rst

index 696e0a645a7e0566921a3e9db3226b76d402f909..f8029bcb528283cddb1ea854b25469af97ecfa54 100644 (file)
@@ -44,7 +44,7 @@ member and userspace must populate the type member with a value from
        struct v4l2_isp_params_buffer *params =
                (struct v4l2_isp_params_buffer *)buffer;
 
-       params->version = MALI_C55_PARAM_BUFFER_V1;
+       params->version = V4L2_ISP_PARAMS_VERSION_V1;
        params->data_size = 0;
 
        void *data = (void *)params->data;