From: Paul Elder Date: Mon, 13 Feb 2023 10:56:28 +0000 (+0100) Subject: media: docs: media: v4l: uapi: Fix field type for SUBDEV_ENUM_FRAME_SIZE X-Git-Tag: v6.6.17~5047^2~376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4f45a50e71bceeda8513421c1a91b4ef20c8700d;p=platform%2Fkernel%2Flinux-rpi.git media: docs: media: v4l: uapi: Fix field type for SUBDEV_ENUM_FRAME_SIZE The documentation for the VIDIOC_SUBDEV_ENUM_FRAME_SIZE ioctl incorrectly refers to struct v4l2_subdev_mbus_code_enum as the parameter. Fix this. [Sakari Ailus: Rebased on top of Dorota's documentation patch] Signed-off-by: Paul Elder Acked-by: Hans Verkuil Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst b/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst index a8d9015..e3ae84d 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst @@ -39,7 +39,7 @@ Supported formats can be retrieved with the ioctl. The enumerations are defined by the driver, and indexed using the ``index`` field -of the struct :c:type:`v4l2_subdev_mbus_code_enum`. +of the struct :c:type:`v4l2_subdev_frame_size_enum`. Each pair of ``pad`` and ``code`` correspond to a separate enumeration. Each enumeration starts with the ``index`` of 0, and the lowest invalid index marks the end of the enumeration.