diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-06-30 10:58:44 +0800 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-07-06 15:54:13 -0700 |
commit | 7b2a4635b84b4dbb07c93201a8c0aea82ed65e4f (patch) | |
tree | 296f06eec28ac8e4c439bd64bf1b0ea93c4cf37c /drivers/clk/at91 | |
parent | 3be6d8ce639d92e60d144fb99dd74a53fe3799bb (diff) |
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/at91')
0 files changed, 0 insertions, 0 deletions