Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3849231pxf; Mon, 15 Mar 2021 22:14:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6hyQZLkkHlaQ2BNcaQ2+KnGNgfZ2rYntjCTfe/sYvw5h0OUL6e2n6BkjJElG2Ji3NE/BI X-Received: by 2002:a17:906:379b:: with SMTP id n27mr28041352ejc.182.1615871651296; Mon, 15 Mar 2021 22:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615871651; cv=none; d=google.com; s=arc-20160816; b=VREN4Vklp3ndU+/shy8LgUGF8Jh/umafWtDlzvki5XpgkE9rjJkEtDzBi4tyEDesAV IfbyrcAGZP1TGr+ilAwQacy9zi83uRpi3wtsm7RpQw84gY0iTTNSFyKmVPjW5qUx/Sno UUiCvqdF+VoV24KqOdaFP8075mObPPUJdCoEH5MMaYMMdmY60U3eXD4B8Qag1ysNE+Ir HqdnwvvBAh6A+6PsmPqKLXgMzwlY0tqAF3lPmaMGD1++TTLtoU9pzXekyBXu5oiqXXmp gUCd7zaRX8w99dtHXKMa+q82G8NBLhbBQhUx8Lprr99qaRJgguxya1EFycFgERz36LQ4 Dhqw== 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=dzPzi0SODq828uguhaJGJ3euLq0CmLrYeNGH68xUdW8=; b=BSwpyhRYY8+mvlkhrTRzLs9TqQtWaREPCrfRT1ZhnMTY/XuK9iJ1V1WDJQUALgfSm3 aAaiQIgk16zxHQkm240p5WNkA9h4Nfg92G4FwZ0dvXrMZgnJB5XUdCWkODH6HHoG5AxG 8A0X0lpckP0KpeL8QiqJ6Ldz3Jc0e1aM5DwT6oLX23i5gyMrysDB5sZ1KTyY8kwT7yMi GdyamNY9kkKFghMlJxfXCQ8WEWzZuDwbfwGsLwp6tQhPc+81rwoj9cqyKRWQxF7PlhqY hl5QKIEipnP96bLU8xkpv271uGXAxscXrchoUMcbJdc1vIOTSYcdhtwmJFCcRJFCXOCZ iRog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=U7CpAT+b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si12671388eje.555.2021.03.15.22.13.46; Mon, 15 Mar 2021 22:14:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=U7CpAT+b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231338AbhCOV65 (ORCPT + 99 others); Mon, 15 Mar 2021 17:58:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229746AbhCOV63 (ORCPT ); Mon, 15 Mar 2021 17:58:29 -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 31521C06174A; Mon, 15 Mar 2021 14:58:29 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 95ABB316; Mon, 15 Mar 2021 22:58:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1615845507; bh=gOmLzfVO5X98XqMgZCyxA1G4VvZj0a0c5tB5fZNrUWQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U7CpAT+bu4IaIHnLbrf7EQECDSQhAIjqrFqMmuuz6EQby161TBRKLpbWiNTjahD4m SRbFqaifprvT37rtXRDBJALZdoAzFA8VSRC+So+uKOOtGiSW+fc3QJnQNaLrkj6LcL LSbANlMTeMYft0S8r6nH45AdLPV0E7tb82tos1cg= Date: Mon, 15 Mar 2021 23:57:51 +0200 From: Laurent Pinchart To: Jacopo Mondi Cc: kieran.bingham+renesas@ideasonboard.com, niklas.soderlund+renesas@ragnatech.se, geert@linux-m68k.org, Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 18/18] media: i2c: max9286: Rework comments in .bound() Message-ID: References: <20210315131512.133720-1-jacopo+renesas@jmondi.org> <20210315131512.133720-19-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210315131512.133720-19-jacopo+renesas@jmondi.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacopo, Thank you for the patch. On Mon, Mar 15, 2021 at 02:15:12PM +0100, Jacopo Mondi wrote: > Re-phrase a comment in .bound() callback to make it clear we register s/Re-phrase/Rephrase/ > a subdev notifier and remove a redundant comment about disabling i2c > auto-ack. > > No functional changes intended. > > Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart > --- > drivers/media/i2c/max9286.c | 16 ++++++---------- > 1 file changed, 6 insertions(+), 10 deletions(-) > > diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c > index b6347639901e..16b2cb9b44a2 100644 > --- a/drivers/media/i2c/max9286.c > +++ b/drivers/media/i2c/max9286.c > @@ -556,9 +556,9 @@ static int max9286_notify_bound(struct v4l2_async_notifier *notifier, > subdev->name, src_pad, index); > > /* > - * We can only register v4l2_async_notifiers, which do not provide a > - * means to register a complete callback. bound_sources allows us to > - * identify when all remote serializers have completed their probe. > + * As we register a subdev notifiers we won't get a .complete() callback > + * here, so we have to use bound_sources to identify when all remote > + * serializers have probed. > */ > if (priv->bound_sources != priv->source_mask) > return 0; > @@ -581,16 +581,12 @@ static int max9286_notify_bound(struct v4l2_async_notifier *notifier, > /* > * All enabled sources have probed and enabled their reverse control > * channels: > + * - The reverse channel amplitude stays high > * - Verify all configuration links are properly detected > - * - Disable auto-ack as communication on the control channel are now > - * stable. > + * - Disable auto-ack as communications on the control channel are now > + * stable > */ > max9286_check_config_link(priv, priv->source_mask); > - > - /* > - * Re-configure I2C with local acknowledge disabled after cameras have > - * probed. > - */ > max9286_configure_i2c(priv, false); > > return max9286_set_pixelrate(priv); -- Regards, Laurent Pinchart