]> git.baikalelectronics.ru Git - kernel.git/commit
clk: ti: clkctrl: convert subclocks to use proper names also
authorTero Kristo <t-kristo@ti.com>
Thu, 30 Apr 2020 08:34:51 +0000 (11:34 +0300)
committerStephen Boyd <sboyd@kernel.org>
Wed, 13 May 2020 03:18:19 +0000 (20:18 -0700)
commita760ea83cbbcd191d8bed97a3e43ce7778bf55c8
tree2ea9376e636081b36a00d0a5e44ddc86d3fb351f
parent76a64a45fb076cb3e320449551d5e092ac5a9f91
clk: ti: clkctrl: convert subclocks to use proper names also

Addition of the new internal API to get the clkctrl names missed adding
the same conversion in place for the subclocks. This leads into missed
parent/child relationships (i.e. orphaned clocks) with mixed node name
handling, for example with omap4/omap5 where the l4_per clocks are using
new naming, but rest are using old. Fix by converting the subclock
registration to pick correct names for the clocks also.

Fixes: 5a259d2c1c27 ("clk: ti: clkctrl: Fix hidden dependency to node name")
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Link: https://lkml.kernel.org/r/20200430083451.8562-1-t-kristo@ti.com
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clkctrl.c