Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5882913pxb; Tue, 16 Feb 2021 09:49:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXCby0lHibeEnopbBr6cdGMlu9whRAoWhoLmvu/LfBUjO16eJzeGTG/+3pB833rEGrN1zu X-Received: by 2002:a17:906:719:: with SMTP id y25mr21274821ejb.180.1613497757175; Tue, 16 Feb 2021 09:49:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613497757; cv=none; d=google.com; s=arc-20160816; b=RNz5sGOxXyUFswi+hBf7KbPSUqveW2WeW/hZlsr+7w5DA7ISMB4TdK6uAFYgl4tsTQ GMB4dub7Dvu6q/DoX+Pq+w+kNNQ/MkgF+NXlNDIFhMsv0FScKtuNBiFak90oN2jGgC/2 zpniMv+RjgTcpwnfbDHQiR8tfoPUhecbhSYdPkafL8pwMWG0qYWwRYKhlqkKbnmSurKe 0NWp5FvaqzXiADwznOEBlup15NjqJvsB8yyh0E1mA4U1iNceQQZ5Yn++T+xsS1yp17Kg 8/scU8wi0AYXomPd+ixcu4swMG88OwV3SMZL4ZWlSAYBXX6j++JqGYWY/uVhmEFT/d4H 1c0A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9DB2+UvjYgh5rlE+/3vAuQ+hfFU2pGsJ4xTCulGI7yI=; b=ALYhiuN5AplxMVUqnH4ZTcwRcH5/JTTfQ3/BP/+bYKa3PZRbAKq4/2WVs4iI2PZ7uk O62W4Eo+Fu43fpZ4fqk4z4fB+SxZHS6JdBXOQS+mTCf3eDQArB1F8dwfwzKPLhJSBBU1 UaBqNnm7NVUxW4LKblg4SLimnXXEkY0g34aik2PRpSp8q+HcnMtCr1h6sXTJcb/PuCMu WHW2n3F0hLySsGnjnH6BKdZVSK8oABIPSPMPzzZVJiTiP8+tEtt18Su/Bp0ZQp2E+T/C 5oIYWxJ/9bqyNUWDvztr8TDoEaTi+LKgo7k8GffL3wKMNHOq9T4gJkWzHIE37TE4tHYx N9Vg== ARC-Authentication-Results: i=1; mx.google.com; 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 b15si452481edz.486.2021.02.16.09.48.53; Tue, 16 Feb 2021 09:49:17 -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; 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 S231207AbhBPRqY (ORCPT + 99 others); Tue, 16 Feb 2021 12:46:24 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:58953 "EHLO relay12.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231273AbhBPRnA (ORCPT ); Tue, 16 Feb 2021 12:43:00 -0500 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 7E00020000A; Tue, 16 Feb 2021 17:41:53 +0000 (UTC) From: Jacopo Mondi To: kieran.bingham+renesas@ideasonboard.com, laurent.pinchart+renesas@ideasonboard.com, niklas.soderlund+renesas@ragnatech.se, geert@linux-m68k.org Cc: Jacopo Mondi , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 15/16] media: i2c: max9286: Rework comments in .bound() Date: Tue, 16 Feb 2021 18:41:45 +0100 Message-Id: <20210216174146.106639-16-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210216174146.106639-1-jacopo+renesas@jmondi.org> References: <20210216174146.106639-1-jacopo+renesas@jmondi.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. */ 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 * - 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); -- 2.30.0