]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.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)
committerStephen Boyd <sboyd@kernel.org>
Tue, 22 Sep 2020 19:58:34 +0000 (12:58 -0700)
commit2f05cced7307489faab873367fb20cd212e1d890
tree5f3560c3470d0095d0af9d8f36ca28b5e43588af
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
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: 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>
drivers/clk/keystone/sci-clk.c