Commit 2f05cced authored by Tero Kristo's avatar Tero Kristo Committed by Stephen Boyd
Browse files

clk: keystone: sci-clk: fix parsing assigned-clock data during probe



The DT clock probe loop incorrectly terminates after processing "clocks"
only, fix this by re-starting the loop when all entries for current
DT property have been parsed.

Fixes: 8e48b33f ("clk: keystone: sci-clk: probe clocks from DT instead of firmware")
Reported-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
Link: https://lore.kernel.org/r/20200907085740.1083-2-t-kristo@ti.com


Acked-by: default avatarSantosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 9123e3a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -522,7 +522,7 @@ static int ti_sci_scan_clocks_from_dt(struct sci_clk_provider *provider)
		np = of_find_node_with_property(np, *clk_name);
		if (!np) {
			clk_name++;
			break;
			continue;
		}

		if (!of_device_is_available(np))