]> git.baikalelectronics.ru Git - kernel.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)
commitbcebe3a8e9bb37f5f33b0db9f826e18c548cae18
tree71faefecee50b3483f80a8096709cade8c79a94a
parent47599c6298943ede4662b5e31dfe375feac1b48a
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: 1fc3580f6a48 ("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