[PATCH 2/2] cmd: clk: correctly handle depth for clk dump