summaryrefslogtreecommitdiff
path: root/drivers/clk/st
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-06-30 05:58:44 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-07-07 01:54:13 +0300
commit7b2a4635b84b4dbb07c93201a8c0aea82ed65e4f (patch)
tree296f06eec28ac8e4c439bd64bf1b0ea93c4cf37c /drivers/clk/st
parent3be6d8ce639d92e60d144fb99dd74a53fe3799bb (diff)
downloadlinux-7b2a4635b84b4dbb07c93201a8c0aea82ed65e4f.tar.xz
clk: mediatek: mt8173: Fix enabling of critical clocks
On the MT8173 the clocks are provided by different units. To enable the critical clocks we must be sure that all parent clocks are already registered, otherwise the parents of the critical clocks end up being unused and get disabled later. To find a place where all parents are registered we try each time after we've registered some clocks if all known providers are present now and only then we enable the critical clocks Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: James Liao <jamesjj.liao@mediatek.com> [sboyd@codeaurora.org: Marked function and data __init] Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/st')
0 files changed, 0 insertions, 0 deletions