Re: [PATCH 1/3] dev: Disambiguate errors in uclass_find

2020-09-16 Thread Simon Glass
Hi Sean, On Wed, 16 Sep 2020 at 19:44, Sean Anderson wrote: > > On 9/16/20 9:09 PM, Simon Glass wrote: > > Hi Sean, > > > > On Sat, 12 Sep 2020 at 15:46, Sean Anderson wrote: > >> > >> There are two cases where uclass_find can return an error. The second is > >> when the uclass has not yet been

Re: [PATCH 1/3] dev: Disambiguate errors in uclass_find

2020-09-16 Thread Sean Anderson
On 9/16/20 9:09 PM, Simon Glass wrote: > Hi Sean, > > On Sat, 12 Sep 2020 at 15:46, Sean Anderson wrote: >> >> There are two cases where uclass_find can return an error. The second is >> when the uclass has not yet been init'd. The first is when the driver model >> has not been init'd (or has

Re: [PATCH 1/3] dev: Disambiguate errors in uclass_find

2020-09-16 Thread Simon Glass
Hi Sean, On Sat, 12 Sep 2020 at 15:46, Sean Anderson wrote: > > There are two cases where uclass_find can return an error. The second is > when the uclass has not yet been init'd. The first is when the driver model > has not been init'd (or has been only partially init'd) and there is no > root

[PATCH 1/3] dev: Disambiguate errors in uclass_find

2020-09-12 Thread Sean Anderson
There are two cases where uclass_find can return an error. The second is when the uclass has not yet been init'd. The first is when the driver model has not been init'd (or has been only partially init'd) and there is no root uclass driver. If LOG_SYSLOG is enabled and LOG_DEFAULT_LEVEL is set to