summaryrefslogtreecommitdiff
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2018-02-14 14:43:37 +0100
committerStephen Boyd <sboyd@kernel.org>2018-03-12 15:10:24 -0700
commit541debae0adf0bee96137724fa1ce81d3102d14c (patch)
treed183e7a729abf458d4155f99388483fc298e5208 /include/linux/clk-provider.h
parent77deb66d262f8512130ff75ec5ea8e31070b41ed (diff)
downloadlwn-541debae0adf0bee96137724fa1ce81d3102d14c.tar.gz
lwn-541debae0adf0bee96137724fa1ce81d3102d14c.zip
clk: call the clock init() callback before any other ops callback
Some clocks may need to initialize things, whatever it is, before being able to properly operate. Move the .init() call before any other callback, such recalc_rate() or get_phase(), so the clock is properly setup before being used. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include/linux/clk-provider.h')
0 files changed, 0 insertions, 0 deletions