]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: uapi: rkisp1-config: Fix typo in extensible params example
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 12 Feb 2025 16:50:53 +0000 (17:50 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Fri, 21 Feb 2025 09:33:01 +0000 (10:33 +0100)
The define used for the version in the example diagram does not match what
is defined in enum rksip1_ext_param_buffer_version, nor the description
above it. Correct the typo to make it clear which define to use.

Fixes: e9d05e9d5db1 ("media: uapi: rkisp1-config: Add extensible params format")
Cc: stable@vger.kernel.org
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
include/uapi/linux/rkisp1-config.h

index 430daceafac7056951be968f3b4d9cd50eb04e71..2d995f3c1ca37820a381f1917a10bf08a304d992 100644 (file)
@@ -1528,7 +1528,7 @@ enum rksip1_ext_param_buffer_version {
  * The expected memory layout of the parameters buffer is::
  *
  *     +-------------------- struct rkisp1_ext_params_cfg -------------------+
- *     | version = RKISP_EXT_PARAMS_BUFFER_V1;                               |
+ *     | version = RKISP1_EXT_PARAM_BUFFER_V1;                               |
  *     | data_size = sizeof(struct rkisp1_ext_params_bls_config)             |
  *     |           + sizeof(struct rkisp1_ext_params_dpcc_config);           |
  *     | +------------------------- data  ---------------------------------+ |