Message ID | 20230213105628.1275084-1-paul.elder@ideasonboard.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | docs: media: v4l: uapi: Fix field type for SUBDEV_ENUM_FRAME_SIZE | expand |
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 c25a9896df0e..e07d48319683 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 @@ ioctl. To enumerate frame sizes applications initialize the ``pad``, ``which`` , ``code`` and ``index`` fields of the struct -:c:type:`v4l2_subdev_mbus_code_enum` and +:c:type:`v4l2_subdev_frame_size_enum` and call the :ref:`VIDIOC_SUBDEV_ENUM_FRAME_SIZE` ioctl with a pointer to the structure. Drivers fill the minimum and maximum frame sizes or return an EINVAL error code if one of the input parameters is invalid.
The documentation for the VIDIOC_SUBDEV_ENUM_FRAME_SIZE ioctl incorrectly refers to struct v4l2_subdev_mbus_code_enum as the parameter. Fix this. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> --- .../userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)