Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1557956pxf; Fri, 19 Mar 2021 09:43:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyN728LcPSKKDY96zSdZdrjccKCaECi1r7kaGf4GqC0wdbU/tvRlh6H5TACLbNRi3zVPsWZ X-Received: by 2002:a17:906:5d06:: with SMTP id g6mr5441859ejt.216.1616172217281; Fri, 19 Mar 2021 09:43:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616172217; cv=none; d=google.com; s=arc-20160816; b=PGVQ1l0EtiugjxTQAqzik9qCSJBEdj+Jd1UpN+DlXSBpBHbkGPoRXOXE2JQydvjt7Y 7We6kKuiGU5vfULHZRmbBTcdl5DL30+c6EdIGVpWssNMMHB4xW637zFIYdlU8VjqsIrS gwph5GnyN3GvOD8mYMWlPxnRYrh7//GINmr4xGiUG1SK6R+SU2iH83yxAO1q6Y9V6mRx O3Y6EkvC1IrV9s/0sykLhRBNso9PyRTf+EMewILCydhRd/GJRpZyGU8r19AZ/72GOHQe FKMVfYkpVNdYCdo8dxx4JHK4TdPnvD1LW1O6tRZd0vIPJB+Vwd1NeQ+EXEZha2G+YyMI zw1g== 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=QT1KOByMWC5Rjx7mkTm5PmhVNWOPyhxfmdv344tvK9w=; b=JQYQo69mIUqwNZLQWP7UktlzkKI8At217F65dARPHzOsyqac2vmnLcxMOFwTRdj2gm zcfQeM6qYQEPH7HX7xJKLDtLR48u95oN7TEciuylrAi4TFG6KrhKFJJE7bsBOCbt2JC0 D2QBqQ6Ne/1Pdwt7fFEhgkdM0huMT+g/U1JGq1ln14LjwnyvDW5PjzR1DdOVMmP62tsH fK2BVguQWAu3P18NlR+8GPhUZzh2hGby+4SRYHDZWldFtxx5BGYtERnyfJdahJWIZYcZ mj10YLGVmO5WKbTdqI5TUQuKbpy0R+5hQwnREkrCauYfhLLLl4dlgYEj9gYpv082DlpD gbRg== 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 y10si4807632edv.94.2021.03.19.09.43.15; Fri, 19 Mar 2021 09:43:37 -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 S230384AbhCSQmW (ORCPT + 99 others); Fri, 19 Mar 2021 12:42:22 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:34869 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230047AbhCSQlz (ORCPT ); Fri, 19 Mar 2021 12:41:55 -0400 X-Originating-IP: 5.92.35.220 Received: from uno.localdomain (mob-5-92-35-220.net.vodafone.it [5.92.35.220]) (Authenticated sender: jacopo@jmondi.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 1865BC0006; Fri, 19 Mar 2021 16:41:50 +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, Laurent Pinchart Subject: [PATCH v3 07/19] media: i2c: max9286: Rework comments in .bound() Date: Fri, 19 Mar 2021 17:41:36 +0100 Message-Id: <20210319164148.199192-8-jacopo+renesas@jmondi.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210319164148.199192-1-jacopo+renesas@jmondi.org> References: <20210319164148.199192-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 Rephrase 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. Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart 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