From patchwork Mon Feb 13 10:56:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 13138264 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 184FCC636D7 for ; Mon, 13 Feb 2023 10:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbjBMK5I (ORCPT ); Mon, 13 Feb 2023 05:57:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230154AbjBMK4s (ORCPT ); Mon, 13 Feb 2023 05:56:48 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 947F014E81 for ; Mon, 13 Feb 2023 02:56:43 -0800 (PST) Received: from pyrite.hamster-moth.ts.net (h175-177-042-159.catv02.itscom.jp [175.177.42.159]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BBC79501; Mon, 13 Feb 2023 11:56:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1676285801; bh=DEeq0lgwCh9iuB4BQf/DrwA1bYDVekwpl6KvMqt7sP8=; h=From:To:Cc:Subject:Date:From; b=Time+E0a7QSHY99lbu2DFfHsZzAEr6cd3Y4i6DzNeFLyPKDsgGbexJFamdNperxt4 qHoqxkMHUBt9e9/HsFYEvJ5MvWyFUvbvpBxqq+OImoaaCC5IflK0GOcxD5uF2JHbpF IgF7+c00qpBdxzcjCJg60ddDDYtUvYJJ/ntNNZ3M= From: Paul Elder To: linux-media@vger.kernel.org Cc: Paul Elder Subject: [PATCH] docs: media: v4l: uapi: Fix field type for SUBDEV_ENUM_FRAME_SIZE Date: Mon, 13 Feb 2023 19:56:28 +0900 Message-Id: <20230213105628.1275084-1-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 --- .../userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.