From patchwork Fri Jul 21 15:50:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 705547 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 23031C0015E for ; Fri, 21 Jul 2023 15:51:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232390AbjGUPvU (ORCPT ); Fri, 21 Jul 2023 11:51:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232286AbjGUPu7 (ORCPT ); Fri, 21 Jul 2023 11:50:59 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E564D4203; Fri, 21 Jul 2023 08:50:36 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id A1C6D1BF204; Fri, 21 Jul 2023 15:50:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1689954631; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=nd2PpfLMysaXbfB2DPXdI9pjC+FwaFKuBLOK0AXd8P0=; b=hSPu3ZzHCSOZl/DI4VE2RXJVCqsYza+wE5yLDjBufT8Y3CQqMlEymRpm/4lKvwSPcX3q5J WdJ7lbuay1ubEKb2UFvixMFYueYUIPoZvvruFikvcm9ucjEpPDsIyEgNrNLsFRibbIXguE Qzn1bkfMvD04W6oh3n+VxLb119Kv0NrLnGlGJbBBw7b/eO8oU3ba9VmEDJXqpK8/JrOsJw XKNKTZ6DqvLcQAp7+DM1kBauNiYQEi+DXa/GHeuJ7S/ioTrCAtR0rErvoYVdwxDhEx3LeK EzhHZUUFRZd+a+oA/lJRS4H9id2SPsREyd5pwCBgB0Si3ueptiQIKz36+Evong== From: Paul Kocialkowski To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Mauro Carvalho Chehab , Hans Verkuil , Paul Kocialkowski Subject: [PATCH] media: doc: dev-encoder: Fixup type for ENUM_FRAMEINTERVALS Date: Fri, 21 Jul 2023 17:50:19 +0200 Message-ID: <20230721155019.112985-1-paul.kocialkowski@bootlin.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-GND-Sasl: paul.kocialkowski@bootlin.com Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The doc mistakently mentions v4l2_frmsizeenum as the struct type passed to VIDIOC_ENUM_FRAMEINTERVALS, while it's actually v4l2_frmivalenum that should be used. Signed-off-by: Paul Kocialkowski --- Documentation/userspace-api/media/v4l/dev-encoder.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/userspace-api/media/v4l/dev-encoder.rst b/Documentation/userspace-api/media/v4l/dev-encoder.rst index 15ca234459bb..6c523c69bdce 100644 --- a/Documentation/userspace-api/media/v4l/dev-encoder.rst +++ b/Documentation/userspace-api/media/v4l/dev-encoder.rst @@ -115,8 +115,8 @@ Querying Capabilities 4. The client may use :c:func:`VIDIOC_ENUM_FRAMEINTERVALS` to detect supported frame intervals for a given format and resolution, passing the desired pixel - format in :c:type:`v4l2_frmsizeenum` ``pixel_format`` and the resolution - in :c:type:`v4l2_frmsizeenum` ``width`` and :c:type:`v4l2_frmsizeenum` + format in :c:type:`v4l2_frmivalenum` ``pixel_format`` and the resolution + in :c:type:`v4l2_frmivalenum` ``width`` and :c:type:`v4l2_frmivalenum` ``height``. * Values returned by :c:func:`VIDIOC_ENUM_FRAMEINTERVALS` for a coded pixel