Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3533670pxf; Mon, 15 Mar 2021 11:41:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuW6zZC7MgO3IP4fKFdrQoTCxJsWdm1I9bz6nVMpKLLLP+AbPLTNwInHzHZfb5ThZewF1J X-Received: by 2002:aa7:d687:: with SMTP id d7mr30988801edr.118.1615833711679; Mon, 15 Mar 2021 11:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615833711; cv=none; d=google.com; s=arc-20160816; b=qPeyxrlNBb7SMdxPZZ66VdwfXFwud0ECZfDUlJ+GrAIeQKEeAI2FxcbV3HZ1+ugMRH drFD/EubcOCUue6acN9qDl1b4ZEHZ7UK9mZUEGNLJRXrysZqBMoEe3l79Y5DmuWxxWYX ksk7t/lqGyI83Z3V9rCik+/Vr/tYsJsGgEtOvOmY+g2biJ8sEul3lMN2F7wbkyp9Rl3g n1oG3ns0MgUyFqgjDLMfNT1C6NQel49Hb2t1l9xaLT5wUfzqPkzf/FN29wF8jFi4T4VS 2b+FmMizZa3eJsVtMuk4JPOjedSVsEpUAQLnCbVS05562mOc8AUPXy4Lb7taru8JnbUV Y+3Q== 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=C/xHaHibWu2OWJzPH1Ih/dbgTnMtN0dliP9XYCx6FHA=; b=Jf8fQsltYEr5fcZeNVgKgPPVUkC8N7jG84AHMFMkS6X6U+6WREg9nsZjoY+wpoF7Ky S/RiG/Bve/FAhSOLuWg4IF93AGXF5rLL7H+HKUk9Beh69xQo8MuRC5sapshn7PO/LbZk 0kmjba7OeQGf+FFA0o7D1OJ4F8m/DXKPswsUkoaad0lSc5qoANXPHVNWkkQyvUn9kNPE uOOwRhn7CnHkVs8lMYT0EVZsE94ZHsOpBOyLMkqefJ2zNnTPgIj9mWj4vpA1oB2V6npp ps5WN8tFNLEWqKJVVaMl2B6piDIhKEWxSWMhYjn6oyrduDsNMG0a2qjxOI5UMiWwTcS8 F4VQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=ZJFU3icW; 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 g8si11406825ejx.558.2021.03.15.11.41.29; Mon, 15 Mar 2021 11:41:51 -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=ZJFU3icW; 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 S235949AbhCOR2g (ORCPT + 99 others); Mon, 15 Mar 2021 13:28:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235832AbhCOR2O (ORCPT ); Mon, 15 Mar 2021 13:28:14 -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 56F4DC06174A; Mon, 15 Mar 2021 10:28:14 -0700 (PDT) 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 8115A316; Mon, 15 Mar 2021 18:28:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1615829292; bh=0tDUrg5BPE+L6CK+xldLeDBVG745e69d2TIvietyZYY=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ZJFU3icWTJDLcwPXPcPYQ9+dAG08yyfNzDUd4pXjzrjHU6u+W0ZXkWgNUhRd1pOMm MMiMlxDTjVNPq21peDVa/+ZseMDRyHPmJzlywJluksd/BQ0+8Tytwdz4joT5gKEhZO 0LZDAHjSTcZdYzVAuVoA6SYAZuV1iXXx5Vn4OPlQ= Reply-To: kieran.bingham+renesas@ideasonboard.com Subject: Re: [PATCH v2 18/18] 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: <20210315131512.133720-1-jacopo+renesas@jmondi.org> <20210315131512.133720-19-jacopo+renesas@jmondi.org> From: Kieran Bingham Organization: Ideas on Board Message-ID: <3067efad-a563-842f-5cf8-d38dfe0a96e1@ideasonboard.com> Date: Mon, 15 Mar 2021 17:28:09 +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: <20210315131512.133720-19-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 15/03/2021 13:15, 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 Reviewed-by: Kieran Bingham > --- > 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); >