]> git.baikalelectronics.ru Git - 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)
commit4772b64cc03374ab4b6d4013ece085492e21c1af
tree5f3560c3470d0095d0af9d8f36ca28b5e43588af
parentdd44bddf04c5fd83529b139fbfac0a5372c1a87d
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: 360b0b93d4e1 ("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