]> git.baikalelectronics.ru Git - kernel.git/commit
Partially revert "clk: mvebu: Convert to clk_hw based provider APIs"
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 14 Oct 2015 18:23:09 +0000 (11:23 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 14 Oct 2015 18:28:17 +0000 (11:28 -0700)
commit039d83b7ec76067b9b2115eb6be06490c635a078
tree5e98407067ea20a5799f1e567faff6159acc0fb9
parent9e62aefef3cc52b7a4b11b3b9110b6b3a351ee03
Partially revert "clk: mvebu: Convert to clk_hw based provider APIs"

This partially reverts commit fa06dcde61168d6e33792fec6fc724d5582b9974.

Thomas reports that it causes regressions on Armada XP devices.
This is because of_clk_get_parent_name() relies on the property
'clock-output-names' to resolve the name of a clock's parent,
without trying to get the clock from the framework and call
__clk_get_name(). Given that Armada XP devices don't have the
'clock-output-names' property, of_clk_get_parent_name() returns
the name of the node which doesn't match the actual parent
clock's name at all, causing CPU clocks to never link up with
their parents.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/mvebu/clk-cpu.c