Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6913215rwd; Tue, 6 Jun 2023 03:58:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Pi8Y+mPNc9h5ZttnszUI9rS1x8r96yD14G96EWfZTtGCwQ2OcwlzIqau5olMbZLx1cldM X-Received: by 2002:a05:620a:4503:b0:75d:59f0:faf with SMTP id t3-20020a05620a450300b0075d59f00fafmr1712309qkp.63.1686049105473; Tue, 06 Jun 2023 03:58:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686049105; cv=none; d=google.com; s=arc-20160816; b=T1snxvypc7ht/Kr/rwY6AMs84opxWVsdeS7K6EVn7PmhCXf+xYou8Ox7h2l33bv85o KyZ//5SIEfLs/HaKHXAPFwh3jZ7gakIzTQ7MGrLnr2Vv9R+/QhWb4CePnMPV4NUCgaed bTucYfwV83qJflvdzxn8p02qgLrlDDrxaSyhQBpqUy4pdr4yFbEVJwyn4B8ZF5neG4Bo SI3J/O7Mmj5QpASuyPY8h28xIPk2v4wjrVa2ugjdB4AnJGJLM8qESNDtLhZYSxHkr6f/ 4HfuDbJZPRW/x6Vozp+A4D6TImCGOMmFH4dxQnCx3HWTqeuZHmEEbH+0ay20FHRKGK50 pmaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JJqdCkkMBhjd6emF9vImVmvVufGQSuVIw1m+uO+SwPA=; b=ILZvd+PctNQCh2rxcIHmhyy2+720w105hd30g75CRbqxGZ6YZ+xXE9D5GzIG7WE/vv tweYMbrstgL9nJh7LX9SgLWBzdPy2xdqdVunGMt1wrEt+/02C4MDfXgzhE0FzFrQluhz a9CzqHbzaDyuyShmbtpURvWVVhTjaBIjrI6n8Af2QmIlHapWlSvNqaesy4oOb8Fp6K1w oyRJihIp9y+yXXHdPgDlcSWAhybJpo5Gh+BVQb1FcTIbwrko7zQKQoUTP3M3eTERUuCe /PgIkDRpHFjB/i9UTVYHnh0YBudtvwgJdywgb9dAVYaQa7icuKBewKUFb3SjjcKtaMzw ITIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Wi3PjteN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020ae9e214000000b0074e06b1d50esi5654294qkc.253.2023.06.06.03.58.10; Tue, 06 Jun 2023 03:58:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=Wi3PjteN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231883AbjFFKeh (ORCPT + 99 others); Tue, 6 Jun 2023 06:34:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236547AbjFFKee (ORCPT ); Tue, 6 Jun 2023 06:34:34 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16D2FE6B; Tue, 6 Jun 2023 03:34:33 -0700 (PDT) Received: from pendragon.ideasonboard.com (om126253223039.31.openmobile.ne.jp [126.253.223.39]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B40891221; Tue, 6 Jun 2023 12:34:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1686047646; bh=3Lz2WwH045DCLuuNkD5PiOW6ef8Go3uox42/mpTxb1M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Wi3PjteNXSBn1kMMbT6bq1L85AyaEkyDzBq+iW4+sce2ecMxPHrCoPH+wy//h0JQ4 tFSnI4xglZEceOSQCwwDQM6N9G7e6zlvJ5xUyPEO1ZCVgoMJqcqjPa/WEmOQwk9kDD mMsJMGYN4bM2t1t9DBHmuhMeNu95O1zTLmkiMAho= Date: Tue, 6 Jun 2023 13:34:21 +0300 From: Laurent Pinchart To: Michael Riesch Cc: Mauro Carvalho Chehab , libcamera-devel@lists.libcamera.org, Sakari Ailus , Hans Verkuil , Matthias Fend , Dave Stevenson , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC v2 1/6] media: v4l2-ctrls: fix documentation of V4L2_CID_FOCUS_ABSOLUTE unit Message-ID: <20230606103421.GA25774@pendragon.ideasonboard.com> References: <20230406-feature-controls-lens-v2-0-faa8ad2bc404@wolfvision.net> <20230406-feature-controls-lens-v2-1-faa8ad2bc404@wolfvision.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230406-feature-controls-lens-v2-1-faa8ad2bc404@wolfvision.net> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Michael, Thank you for the patch. On Tue, Apr 25, 2023 at 11:45:11AM +0200, Michael Riesch wrote: > The current unit description of the V4L2_CID_FOCUS_ABSOLUTE does not > make sense and was probably copy-pasted from V4L2_CID_FOCUS_RELATIVE. > Fix the unit description in the documentation. > > Signed-off-by: Michael Riesch > --- > Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst > index daa4f40869f8..df29150dce7b 100644 > --- a/Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst > +++ b/Documentation/userspace-api/media/v4l/ext-ctrls-camera.rst > @@ -140,8 +140,8 @@ enum v4l2_exposure_metering - > > ``V4L2_CID_FOCUS_ABSOLUTE (integer)`` > This control sets the focal point of the camera to the specified > - position. The unit is undefined. Positive values set the focus > - closer to the camera, negative values towards infinity. > + position. The unit is undefined. Larger values move the focus closer to > + the camera, smaller values move the focus to infinity. Reviewed-by: Laurent Pinchart > > ``V4L2_CID_FOCUS_RELATIVE (integer)`` > This control moves the focal point of the camera by the specified > -- Regards, Laurent Pinchart