Re: [PATCH v10 5/6] i2c: atr: Set adapter physical device
From: Herve Codina
Date: Mon Nov 30 2026 - 08:51:08 EST
Hi Andy,
On Mon, 30 Nov 2026 13:26:54 +0100
Andi Shyti <andi.shyti@xxxxxxxxxx> 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