Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7456524pxb; Thu, 18 Feb 2021 10:29:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUPCoqiCtdmtB1O0V3A8K5P44hzaqakTXrF4CfRgbUU+HR7lnpfJ5iey98BFdjPknqIFlE X-Received: by 2002:a17:906:c010:: with SMTP id e16mr5195681ejz.91.1613672961084; Thu, 18 Feb 2021 10:29:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613672961; cv=none; d=google.com; s=arc-20160816; b=ontJB8k1JTJQbOYO4bc+Yss0IbSHmQP1ymSp0V6d2s3kWrVCDy8yyafC4r/4lRgRUn McCDR8FbXuao/CtneyNgoHk1QKezkFrVtiRYsZCjaNGiAgCh7jJdg97TmwYqXFp+ldVr +NXqIC2DZ4jUxNvpLyDvBXoEfzjHeP6r11SvWsnSi3gGUSWXIY5CIjW9koUUriLtjF6I Os47BvX6H+r5o4zSOV3nJeEuH7wR0VakstLgEvxKtpTJPp+uPt0YsOV8kR4wqbK0fPxI GbKvZBHot3f9ynZuNuVq4QbZ9F4TUDET/IvRwnJNU8WDMaBuWmBdHYutrnh/VEUeqjQq ymVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:reply-to:dkim-signature; bh=mQ1p7rRdMXyq/PTrjhcmUz1N/+mVAEbuKei+TQnhgz0=; b=XwCJa2hojcBxs484SQRQNcfFk/7WqZrNzOiSa3fzxAQqC8cKq2eWbfEr54B/2wYGwJ WpD5fGVK6dAyDXHix6SUaKGC31mcbOVtPreDDBsrBW255CsUud9T87OwoKX8gmbE8E7a PyFrlMG544q8CJ+73FDgLmfWHQOLQC5XeT1lSnTMJV2IyYJu2UpnIJrepu3vYc2iE+2z TX2Tfl9ymRP8sCTwDAPT6ez6cWPFG0BBgy9jLW1pZXBA+N+vFyEddagr1ruLXkXBsDgx hKjwCjl3zXStEyrSwlROx7bzHLOpnNK4teOQx2dk7c18LRzMqAM117kZMo0ZQmAcBZqd 9UIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=jsdokd8u; 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 s13si4048133edj.330.2021.02.18.10.28.57; Thu, 18 Feb 2021 10:29:21 -0800 (PST) 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=jsdokd8u; 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 S231386AbhBRS0n (ORCPT + 99 others); Thu, 18 Feb 2021 13:26:43 -0500 Received: from perceval.ideasonboard.com ([213.167.242.64]:33118 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233076AbhBRQEm (ORCPT ); Thu, 18 Feb 2021 11:04:42 -0500 Received: from [192.168.0.20] (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net [86.31.172.11]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id E4BB93F0; Thu, 18 Feb 2021 17:03:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1613664227; bh=SLloweOlW3YyvTIFbGXuKXMzMH/hzXvlCc4Uv3Qfkbw=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From; b=jsdokd8ueTpIyZ6oWK86J3Xl+7JRhHz0uqUipRlLgXKaKGKdCma8ALRQEthsLX6tA Cx3vMHakIWeuSXHciPWdkc5TlKu3+jB+v6GMPFZepIHTlHFiTqh7tYBus8nuHDUYEF f9fg0BIIivMrvU13VsXxEZE+8j4QkywyZqLiQMyc= Reply-To: kieran.bingham+renesas@ideasonboard.com Subject: Re: [PATCH 15/16] media: i2c: max9286: Rework comments in .bound() To: Jacopo Mondi , laurent.pinchart+renesas@ideasonboard.com, niklas.soderlund+renesas@ragnatech.se, geert@linux-m68k.org Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <20210216174146.106639-1-jacopo+renesas@jmondi.org> <20210216174146.106639-16-jacopo+renesas@jmondi.org> From: Kieran Bingham Organization: Ideas on Board Message-ID: Date: Thu, 18 Feb 2021 16:03:44 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210216174146.106639-16-jacopo+renesas@jmondi.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/02/2021 17:41, Jacopo Mondi wrote: > Re-phrase a comment in .bound() callback to make it clear we register > a subdev notifier and remove a redundant comment about disabling i2c > auto-ack. > > No functional changes intended. > > Signed-off-by: Jacopo Mondi > --- > 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 c41284de89b6..aa01d5bb79ef 100644 > --- a/drivers/media/i2c/max9286.c > +++ b/drivers/media/i2c/max9286.c > @@ -567,9 +567,9 @@ static int max9286_notify_bound(struct v4l2_async_notifier *notifier, > } > > /* > - * 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. s/subdev notifiers/subdev notifier/ ? ... I'm not sure that helps me ? :S > */ > if (priv->bound_sources != priv->source_mask) { > /* > @@ -583,16 +583,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 Isn't this part of the previous patch? > * - 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); >