Skip to content
Commit 689ca8c5 authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Lukasz Majewski
Browse files

cmd: clk: correctly handle depth for clk dump



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: default avatarPatrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent cc632841
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment