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 6D353C77B7A for ; Tue, 30 May 2023 02:14:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229938AbjE3COr (ORCPT ); Mon, 29 May 2023 22:14:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjE3COq (ORCPT ); Mon, 29 May 2023 22:14:46 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DEDCA0 for ; Mon, 29 May 2023 19:14:44 -0700 (PDT) Received: from pendragon.ideasonboard.com (om126158230151.30.openmobile.ne.jp [126.158.230.151]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 88179E4; Tue, 30 May 2023 04:14:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1685412861; bh=1WbTjc1j04k3Wa9Wm43pAiuokDBvvwKbngdwJkQadkk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PneEEqd04pEuG6Oq+wtO7MxippmqBAbsznUudiJ04xSkAzNlnscuTaBym7Yx4FJjP z8dlBjzFhHCb+F6tGw8RnysAR2smXgkUbLkj93TpRoCj5dOYsn9KFgBTqKfNDmkUDS 0dzRTsxUaQobJsVjXMvtDITUwA54/7jnaAOZwZVU= Date: Tue, 30 May 2023 05:14:43 +0300 From: Laurent Pinchart To: Sakari Ailus Cc: linux-media@vger.kernel.org, Philipp Zabel , hverkuil@xs4all.nl, Francesco Dolcini , aishwarya.kothari@toradex.com, Robert Foss , Todor Tomov , Hyun Kwon , bingbu.cao@intel.com, niklas.soderlund@ragnatech.se, Kieran Bingham , Benjamin Mugnier , Sylvain Petinot , Eugen Hristev , Nicolas Ferre , Maxime Ripard , Rui Miguel Silva , Fabio Estevam , Bryan O'Donoghue , Sylwester Nawrocki , Dafna Hirschfeld , Hugues Fruchet , Yong Deng , Paul Kocialkowski , "Lad, Prabhakar" , Benoit Parrot , Steve Longerbeam , Thierry Reding , Jonathan Hunter , Sowjanya Komatineni , Marco Felsch Subject: Re: [RESEND PATCH v3 02/32] media: Documentation: v4l: Document missing async subdev function Message-ID: <20230530021443.GB21633@pendragon.ideasonboard.com> References: <20230525091615.2324824-1-sakari.ailus@linux.intel.com> <20230525091615.2324824-3-sakari.ailus@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230525091615.2324824-3-sakari.ailus@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hi Sakari, Thank you for the patch. On Thu, May 25, 2023 at 12:15:45PM +0300, Sakari Ailus wrote: > Also v4l2_async_nf_add_fwnode() may be used to add an async sub-device > descriptor to a notifier. Document this. > > Signed-off-by: Sakari Ailus > --- > Documentation/driver-api/media/v4l2-subdev.rst | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/driver-api/media/v4l2-subdev.rst b/Documentation/driver-api/media/v4l2-subdev.rst > index 602dadaa81d86..ce8e9d0a332bc 100644 > --- a/Documentation/driver-api/media/v4l2-subdev.rst > +++ b/Documentation/driver-api/media/v4l2-subdev.rst > @@ -204,9 +204,9 @@ that the bridge device needs for its operation. Several functions are available > to add subdevice descriptors to a notifier, depending on the type of device and > the needs of the driver. > > -:c:func:`v4l2_async_nf_add_fwnode_remote` and > -:c:func:`v4l2_async_nf_add_i2c` are for bridge and ISP drivers for > -registering their async sub-devices with the notifier. > +:c:func:`v4l2_async_nf_add_fwnode`, :c:func:`v4l2_async_nf_add_fwnode_remote` > +:c:and func:`v4l2_async_nf_add_i2c` are for registering their async sub-devices The 'and' isn't in the right place. With this fixed, Reviewed-by: Laurent Pinchart > +:c:with the notifier. > > :c:func:`v4l2_async_register_subdev_sensor` is a helper function for > sensor drivers registering their own async sub-device, but it also registers a -- Regards, Laurent Pinchart