[PATCH 2/2] cmd: clk: correctly handle depth for clk dump
Simon Glass
sjg at chromium.org
Sun Aug 16 05:39:20 CEST 2020
On Thu, 30 Jul 2020 at 06:04, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> Update depth only when clock uclass is found to have correct display
> of command "clk dump".
>
> Without this patch, the displayed depth is the binding depth for
> all the uclass and that can be strange as only clock uclass nodes
> are displayed.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> cmd/clk.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list