Thread (91 messages) 91 messages, 8 authors, 2023-08-08

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
Also in: alsa-devel, linux-arm-kernel, linux-devicetree, linux-gpio, linuxppc-dev, lkml

On Tue, 8 Aug 2023 08:13:27 +0000
Christophe Leroy [off-list ref] wrote:
Le 26/07/2023 à 17:02, Herve Codina a écrit :
quoted
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.
quoted
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>
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help