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

- From: Herve Codina \<herve.codina@bootlin.com\>
- Date: 2023-08-08 19:47:33 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/08/2296094
- Thread: https://ratatoskr.run/netdev/2023/07/2280248/t/2.md

```text
On Tue, 8 Aug 2023 08:13:27 +0000
Christophe Leroy [ref] 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@bootlin.com>  
> 
> Reviewed-by: Christophe Leroy <redacted>
> 

```
