[PATCH v5 09/15] cmd: List all uclass devices regardless of probe error
Michal Suchánek
msuchanek at suse.de
Sun Oct 2 21:10:46 CEST 2022
Hello,
On Thu, Sep 29, 2022 at 04:00:42AM -0600, Simon Glass wrote:
> On Tue, 27 Sept 2022 at 15:38, Michal Suchanek <msuchanek at suse.de> wrote:
> >
> > There are a few commands that iterate uclass with
> > uclass_first_device/uclass_next_device or the _err variant.
> >
> > Use the _check class iterator variant to get devices that fail to probe
> > as well, and print the status.
> >
> > Signed-off-by: Michal Suchanek <msuchanek at suse.de>
> > ---
> > cmd/adc.c | 22 ++++++++++------------
> > cmd/demo.c | 16 ++++++++++------
> > cmd/gpio.c | 15 +++++++++++----
> > cmd/pmic.c | 15 ++++++++-------
> > cmd/regulator.c | 13 +++++++------
> > 5 files changed, 46 insertions(+), 35 deletions(-)
>
> With the errno change dropped:
Can you be please more sspecific about 'the errno change' and the
problem with it?
Thanks
Michal
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list