Re: [PATCH v5 15/15] dm: core: Do not stop uclass iteration on error

2022-09-29 Thread Simon Glass
On Tue, 27 Sept 2022 at 15:38, Michal Suchanek wrote: > > When probing a device fails NULL pointer is returned, and following > devices in uclass list cannot be iterated. Skip to next device on error > instead. > > With that the only condition under which these simple iteration > functions return

[PATCH v5 15/15] dm: core: Do not stop uclass iteration on error

2022-09-27 Thread Michal Suchanek
When probing a device fails NULL pointer is returned, and following devices in uclass list cannot be iterated. Skip to next device on error instead. With that the only condition under which these simple iteration functions return error is when the dm is not initialized at uclass_get time. This is