Linux Media Controller development
 help / color / mirror / Atom feed
From: Herve Codina <herve.codina@bootlin.com>
To: Andi Shyti <andi.shyti@kernel.org>
Cc: Andrew Lunn <andrew@lunn.ch>, Rob Herring <robh@kernel.org>,
	Saravana Kannan <saravanak@kernel.org>,
	Wolfram Sang <wsa+renesas@sang-engineering.com>,
	Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>,
	Peter Rosin <peda@lysator.liu.se>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-media@vger.kernel.org,
	Allan Nielsen <allan.nielsen@microchip.com>,
	Horatiu Vultur <horatiu.vultur@microchip.com>,
	Daniel Machon <daniel.machon@microchip.com>,
	Steen Hegelund <steen.hegelund@microchip.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v10 5/6] i2c: atr: Set adapter physical device
Date: Mon, 30 Nov 2026 14:50:39 +0100	[thread overview]
Message-ID: <20261130145039.2951e152@bootlin.com> (raw)
In-Reply-To: <aw1qxUWguBWqroT4@zenone.zhora.eu>

Hi Andy,

On Mon, 30 Nov 2026 13:26:54 +0100
Andi Shyti <andi.shyti@kernel.org> wrote:

> Hi Herve,
> 
> ...
> 
> > @@ -824,6 +824,7 @@ int i2c_atr_add_adapter(struct i2c_atr *atr, struct i2c_atr_adap_desc *desc)
> >  	chan->adap.algo = &atr->algo;
> >  	chan->adap.algo_data = chan;
> >  	chan->adap.dev.parent = desc->parent;
> > +	chan->adap.physdev = desc->parent;  
> 
> Can we drop this patch? dev.parent already points to
> desc->parent, and patch 2 uses it when physdev is NULL.

Yes, we can drop the patch. I though it was clearer to set the value even if
it matches the default value.

Do you expect an new series iteration with the patch dropped or do you plan
to handle it on your side by just skipping the patch?

Best regards,
Hervé

> 
> Thanks,
> Andi
> 
> >  	chan->adap.retries = parent->retries;
> >  	chan->adap.timeout = parent->timeout;
> >  	chan->adap.quirks = parent->quirks;
> > -- 
> > 2.56.0
> >   



-- 
Hervé Codina, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2026-11-30 13:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 13:39 [PATCH v10 0/6] lan966x pci device: Add support for SFPs, i2c part Herve Codina
2026-11-18 13:39 ` [PATCH v10 1/6] media: rtl2832: Use I2C client device as mux device Herve Codina
2026-11-18 13:39 ` [PATCH v10 2/6] i2c: core: Introduce i2c_get_adapter_physdev() Herve Codina
2026-11-18 13:39 ` [PATCH v10 3/6] i2c: mux: Set adapter physical device Herve Codina
2026-11-18 13:39 ` [PATCH v10 4/6] i2c: mux: Create missing devlink between mux and " Herve Codina
2026-11-18 13:39 ` [PATCH v10 5/6] i2c: atr: Set " Herve Codina
2026-11-30 12:26   ` Andi Shyti
2026-11-30 13:50     ` Herve Codina [this message]
2026-11-18 13:39 ` [PATCH v10 6/6] i2c: atr: Create missing devlink between ATR and " Herve Codina
2026-11-30 12:29 ` [PATCH v10 0/6] lan966x pci device: Add support for SFPs, i2c part Andi Shyti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261130145039.2951e152@bootlin.com \
    --to=herve.codina@bootlin.com \
    --cc=allan.nielsen@microchip.com \
    --cc=andi.shyti@kernel.org \
    --cc=andrew@lunn.ch \
    --cc=daniel.machon@microchip.com \
    --cc=horatiu.vultur@microchip.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=luca.ceresoli@bootlin.com \
    --cc=mchehab@kernel.org \
    --cc=peda@lysator.liu.se \
    --cc=robh@kernel.org \
    --cc=saravanak@kernel.org \
    --cc=steen.hegelund@microchip.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tomi.valkeinen@ideasonboard.com \
    --cc=wsa+renesas@sang-engineering.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox