Skip to content
Commit d5e136a2 authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Tomasz Figa
Browse files

clk: samsung: Register clk provider only after registering its all clocks



Ensure the clock provider is not registered until after all its related
clocks were created and are ready to use. Currently there are races
possible and any (of_)clk_get() call right after a clock provider's
clk_init_cb callback call may fail.

Signed-off-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: default avatarTomasz Figa <t.figa@samsung.com>
parent bdfcdf18
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment