]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: keystone: sci-clk: fix parsing assigned-clock data during probe
authorTero Kristo <t-kristo@ti.com>
Mon, 7 Sep 2020 08:57:38 +0000 (11:57 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 09:08:06 +0000 (10:08 +0100)
commitec87b61ac31a5599906ebbf03f4f72f40ca59e08
treeab57b9891e02d8f30ad7ffe20dac85294bb38d44
parent2e415af55c3419261271022f9532a148a4363100
clk: keystone: sci-clk: fix parsing assigned-clock data during probe

[ Upstream commit 2f05cced7307489faab873367fb20cd212e1d890 ]

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: 8e48b33f9def ("clk: keystone: sci-clk: probe clocks from DT instead of firmware")
Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Link: https://lore.kernel.org/r/20200907085740.1083-2-t-kristo@ti.com
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/keystone/sci-clk.c