Re: [PATCH v2 22/28] mfd: core: Ensure disabled devices are skiped without aborting

From: Herve Codina
Date: Tue Aug 08 2023 - 15:47:34 EST


On Tue, 8 Aug 2023 08:13:27 +0000
Christophe Leroy <christophe.leroy@xxxxxxxxxx> wrote:

> Le 26/07/2023 à 17:02, Herve Codina a écrit :
> > The loop searching for a matching device based on its compatible
> > string is aborted when a matching disabled device is found.
> > This abort avoid to add devices as soon as one disabled device
> > is found.
>
> s/avoid/prevents/

Yes, will be changed.

>
> >
> > Continue searching for an other device instead of aborting on the
> > first disabled one fixes the issue.
> >
> > Fixes: 22380b65dc70 ("mfd: mfd-core: Ensure disabled devices are ignored without error")
> > Signed-off-by: Herve Codina <herve.codina@xxxxxxxxxxx>
>
> Reviewed-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
>