Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3286357pxf; Mon, 15 Mar 2021 06:18:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPI+/6dK3ZHrbmb2h83+Ohy5N+ccqjMfPi0YKDPFo3DdW5hO3aEu0CwnzW6qBLkadiwnr8 X-Received: by 2002:a17:906:14d0:: with SMTP id y16mr24007481ejc.242.1615814318809; Mon, 15 Mar 2021 06:18:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615814318; cv=none; d=google.com; s=arc-20160816; b=ZQ1mG7c+OpzUUzBIFPbGZPchMk8rLR7/389VBWMf1XioW9fmTs+J88sKlENZPryfzB 8uKOzIqDL6KyXXt3SKPkBlD8vaOYX6m0EoReLY/tN0n0NUaZWh7mDoaaJJIIB6LF+oDX FLSjGqEnpCnHSHsIMVJeFciJu8qWm64PEeq5McrkyygNyZO5XQQy0cJecPbdUtPjVrAM uByomBzAlzkq6Eai5QSKL2+Ad73OOWwxlEmtU1hdcPYMhOfkGUL3SWwhHnDqnkotrOi6 RgcH2pYPKume72v2KzEbK++TwCf4RICqSwA6rZXbs46r6Z5Ua10foBLXmtKIvPFgE/DH LjKw== 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=aR5W4Ydtzh6PbS8J6Vt8xRP8Ij0m6p0AHDE1qKPBDBw=; b=yDNTZ64vvAwS5hxiEXa2hfQjegRMbstlAe9wvQB1tjtz4WuOMRq0cDj6Q8SEntaL/K esdGpmG3+UTs0uaYekYzIOhi2td0QDuCwuqUw7Y7a/l62NsrrI6Pzy3A7S9MBZGDypPX Slb2Tzu8H3T11kiaSjd96B4ooE9q46oXz/Nso0yfq+jC7sQ503vcx3KwwXWx8fL508wd N12+Dx2PMj4lIgNGA5O1RZKmrSBapOo0xHty5IllIcOZI1tbbI8R9tVDaKkXcGRY6hgu JO392lsfdDMVJk3SAGqKg2S7cTEIXHVXdoiullFohmygIzyIbqVCCVzUWw/aSnhPrIBj AHWA== 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 qq23si11435556ejb.505.2021.03.15.06.18.16; Mon, 15 Mar 2021 06:18:38 -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; 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 S231296AbhCONQM (ORCPT + 99 others); Mon, 15 Mar 2021 09:16:12 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:50259 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229952AbhCONPq (ORCPT ); Mon, 15 Mar 2021 09:15:46 -0400 X-Originating-IP: 79.22.58.175 Received: from uno.homenet.telecomitalia.it (host-79-22-58-175.retail.telecomitalia.it [79.22.58.175]) (Authenticated sender: jacopo@jmondi.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 12861FF80B; Mon, 15 Mar 2021 13:15:42 +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 v2 18/18] media: i2c: max9286: Rework comments in .bound() Date: Mon, 15 Mar 2021 14:15:12 +0100 Message-Id: <20210315131512.133720-19-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210315131512.133720-1-jacopo+renesas@jmondi.org> References: <20210315131512.133720-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 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); -- 2.30.0