[PATCH v2] cmd: clk: probe the clock before dump them

Sean Anderson seanga2 at gmail.com
Sat Jan 21 19:18:17 CET 2023


On Tue, 13 Dec 2022 14:57:10 +0100, Patrick Delaunay wrote:
> The clock UCLASS need to be probed to allow availability of the
> private data (struct clk *), get in show_clks() with dev_get_clk_ptr()
> before use them.
> 
> Without this patch the clock dump can cause crash because all the
> private data are not available before calling the API clk_get_rate().
> 
> [...]

Applied, thanks!

[1/1] cmd: clk: probe the clock before dump them
      commit: dbd5ad09d2625cc631c1a98ec4517bde59f49b0d

Best regards,
-- 
Sean Anderson <seanga2 at gmail.com>


More information about the U-Boot mailing list