Re: [PATCH v2 3/5] sysinfo: Require that sysinfo_detect be called before other methods

2021-03-11 Thread Simon Glass
On Fri, 5 Mar 2021 at 13:12, Sean Anderson wrote: > > This has the uclass enforce calling detect() before other methods. This > allows drivers to cache information in detect() and perform (cheaper) > retrieval in the other accessors. This also modifies the only instance > where this sequencing wa

[PATCH v2 3/5] sysinfo: Require that sysinfo_detect be called before other methods

2021-03-05 Thread Sean Anderson
This has the uclass enforce calling detect() before other methods. This allows drivers to cache information in detect() and perform (cheaper) retrieval in the other accessors. This also modifies the only instance where this sequencing was not followed. Signed-off-by: Sean Anderson --- Changes i