summaryrefslogtreecommitdiff
path: root/drivers/soc
diff options
context:
space:
mode:
authorMichael Tretter <m.tretter@pengutronix.de>2021-01-21 08:16:46 +0100
committerStephen Boyd <sboyd@kernel.org>2021-02-08 18:31:24 -0800
commit0225daea08141b1dff681502d5af70b71e8b11ec (patch)
treea2880a1b6f5acb91328d8fdf4523cb64092103a8 /drivers/soc
parentbc6b9dc79c87cf3bbf3e150fef64ef45f652ae41 (diff)
clk: divider: fix initialization with parent_hw
If a driver registers a divider clock with a parent_hw instead of the parent_name, the parent_hw is ignored and the clock does not have a parent. Fix this by initializing the parents the same way they are initialized for clock gates. Fixes: ff258817137a ("clk: divider: Add support for specifying parents via DT/pointers") Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Acked-by: Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/20210121071659.1226489-3-m.tretter@pengutronix.de Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions