commit | d5e136a21b2028fb1f45143ea7112d5869bfc6c7 | [log] [tgz] |
---|---|---|
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | Wed Jun 18 17:46:52 2014 +0200 |
committer | Tomasz Figa <t.figa@samsung.com> | Mon Jun 30 15:07:55 2014 +0200 |
tree | 5515a38250e241056cf3538bbbf6deec37812765 | |
parent | bdfcdf18c380a3c376b42709a89eb2cc52e95ae0 [diff] |
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: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Tomasz Figa <t.figa@samsung.com>