-
由 Sascha Hauer 提交于
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: NSascha Hauer <s.hauer@pengutronix.de> Signed-off-by: NJames Liao <jamesjj.liao@mediatek.com> [sboyd@codeaurora.org: Marked function and data __init] Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
7b2a4635