]> asedeno.scripts.mit.edu Git - linux.git/commit
clk: actually call the clock init before any other callback of the clock
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 24 Sep 2019 12:39:52 +0000 (14:39 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 24 Dec 2019 02:53:13 +0000 (18:53 -0800)
commitf6fa75ca912be6021335de63a32aa4d295f3c524
tree71faefecee50b3483f80a8096709cade8c79a94a
parente42617b825f8073569da76dc4510bfa019b1c35a
clk: actually call the clock init before any other callback of the clock

 __clk_init_parent() will call the .get_parent() callback of the clock
 so .init() must run before.

Fixes: 541debae0adf ("clk: call the clock init() callback before any other ops callback")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lkml.kernel.org/r/20190924123954.31561-2-jbrunet@baylibre.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c