From patchwork Thu Dec 22 11:56:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaoqian Lin X-Patchwork-Id: 35733 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp285545wrn; Thu, 22 Dec 2022 04:06:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXsjf4aXFj5O4Dl5qvmU7eAMkbG9R2XJiZEQRJHXEtn0WmoPFfOvXWsinsqPNJvWJYFNQRYl X-Received: by 2002:a17:906:3887:b0:845:473a:9e88 with SMTP id q7-20020a170906388700b00845473a9e88mr1155028ejd.10.1671710807510; Thu, 22 Dec 2022 04:06:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671710807; cv=none; d=google.com; s=arc-20160816; b=hv6xcyTVFK+bukqP+f9BU+PTbuWoQ2Yye5sGIzN0PaQjgn6URQ56x/VhY21MNXtI72 Fi1FhnwcAEw1GhCsuOkJHUMGp55W1XHew/w8Tr4G9vGd8HK/QqwJanUATXgYLm87d0rR BMXRdRsNDNnlYqNA0IjB05WB3LniZ6ZegLEhzff7jKuSo9g/JQEv4P2chDX0+g9Kv3Px z8/e4RwOQi86D3+7peulYHUL0hqF75x+zvOiOZtui4ublnnhFte3Yi7IVWpmcGw87720 4kJF+LgcFf/fnpcaZ48IydgToSZV+AbESfxH9AKb5r938MQJpf9PMT7LggXlGM98eRLU V+4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=NMORqLHaJNiKFpIU708RV2HeHLpSanu3/u3B3wpsHh4=; b=UFWEWsNcQ14B3jIYit9C4+OfT54e48XUayM8NgSUvnrhXRz2TU+axozQTqCjFepkxo Agh3FJLQnqH6SjXFcK47N9CHIn2xe0cg11adl2oOanS/bok9L+4+yKsBSCpKPzeE6mSk XndT6Ej+65uBDZSu/P3hliMWgjG0Su4izjEvppZUhALsj7RrPHiKZZI/PTNBSc082hH0 eVCy6QyFJ/FGHecrv2IB9OpqNFfJBkl6qgbIhrCQkyVwEmBKxKn5qgRpM5ndhh3gbH7/ wYxikkqYp7XL9zkNBVBQzAOesrAjK4WofPp0d8wORZvEAgyWfhMf++CirCdlNahXVhfI RUmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Ww3yzlXR; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc14-20020a1709078a0e00b007ad8480304dsi381687ejc.350.2022.12.22.04.06.22; Thu, 22 Dec 2022 04:06:47 -0800 (PST) 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 header.i=@gmail.com header.s=20210112 header.b=Ww3yzlXR; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235880AbiLVMFZ (ORCPT + 99 others); Thu, 22 Dec 2022 07:05:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235756AbiLVME7 (ORCPT ); Thu, 22 Dec 2022 07:04:59 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9D1E2CC98; Thu, 22 Dec 2022 03:57:01 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id fy4so1716470pjb.0; Thu, 22 Dec 2022 03:57:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NMORqLHaJNiKFpIU708RV2HeHLpSanu3/u3B3wpsHh4=; b=Ww3yzlXRTqHEfX8Cx1nfzdbTxcThOFZiKmyx1nHB2jRMe553cgt5oN0G+OH+yyLQQL nZ2pv1ubZBTYde02ycOWEApMkxWdsotrh3STOy1UrGguz/Et6KuyJtzvnhmWKA8DGZgR Zti01iAYu5StoPb/JHEFJw1kRU1/dsse8sjMxsnZlAAuqgKBOf7A05zCwxswFOqhFpqR euaFH8Ige5AtUMDzGKcm6kAyZNe/csTicmxMWZVealZ09PDWxZD+HBrRH6U3gOFj5yqc Jpk0ecTZ2Sx1iUtyNG3QJhmzhqE45oExF1vvCpzdis57qDNjHFZR4UTG04S8lNmfu465 fmmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NMORqLHaJNiKFpIU708RV2HeHLpSanu3/u3B3wpsHh4=; b=KlbWt/KNT/CczCsc9hl566RAv0iPlOdJqi275NuVKqwgudBMP2DIOAaMk1pm7YHxOx r1vs3TmuGNt0IUONaasZgZ/USOeMPp9HEe9N5wN0XV51795iCvxYc2hn/tO46Mh9HUEZ 8icVbBkRmRsoEUeq7zWk8mkmawqe7lNYhx82l5B2yH2G7UQHB8uXHLufiSqa2mWhNCtu CxyA7OhHcCg4Lz0M/q5kUnSyWYGtzUPBYhXlIs7lV3EYKJiF8YZXGgVRyWfO9PRKs+2b duyhu2s4QyjAShmlFAgKZKWbp1Jtrv+BWVcv5fmAzdiRerCO/fPsHlSTBNiMIiFJMsKV NZbA== X-Gm-Message-State: AFqh2kr5IeOoYvUus+0EDQu4tYDzHzDqrYz9E81pk0lHOTE/TimTUJZy p4VrKzC1DacoorabZVpDLpPhHDRNIb0EryZy X-Received: by 2002:a17:902:b7ca:b0:192:4904:af98 with SMTP id v10-20020a170902b7ca00b001924904af98mr4690375plz.58.1671710206122; Thu, 22 Dec 2022 03:56:46 -0800 (PST) Received: from localhost.localdomain ([202.120.234.246]) by smtp.googlemail.com with ESMTPSA id m11-20020a170902d18b00b00172951ddb12sm401694plb.42.2022.12.22.03.56.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 03:56:45 -0800 (PST) From: Miaoqian Lin To: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linmq006@gmail.com Subject: [PATCH] media: v4l2-ctrls: Fix doc for v4l2_ctrl_request_hdl_find Date: Thu, 22 Dec 2022 15:56:37 +0400 Message-Id: <20221222115638.768143-1-linmq006@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752915831217437239?= X-GMAIL-MSGID: =?utf-8?q?1752915831217437239?= We should call v4l2_ctrl_request_hdl_put() instead of v4l2_ctrl_request_put_hdl(). Fix the typo. Signed-off-by: Miaoqian Lin Reviewed-by: Nicolas Dufresne --- include/media/v4l2-ctrls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index e59d9a234631..7788eeb3e2bb 100644 --- a/include/media/v4l2-ctrls.h +++ b/include/media/v4l2-ctrls.h @@ -1343,7 +1343,7 @@ void v4l2_ctrl_request_complete(struct media_request *req, * @parent: The parent control handler ('priv' in media_request_object_find()) * * This function finds the control handler in the request. It may return - * NULL if not found. When done, you must call v4l2_ctrl_request_put_hdl() + * NULL if not found. When done, you must call v4l2_ctrl_request_hdl_put() * with the returned handler pointer. * * If the request is not in state VALIDATING or QUEUED, then this function