diff options
author | Damien Le Moal <[email protected]> | 2020-12-13 22:50:34 +0900 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-01-07 18:01:36 -0800 |
commit | 11f4c2e940e2f317c9d8fb5a79702f2a4a02ff98 (patch) | |
tree | 8c4d90c3ba0821e14e37d06d20db02e7db7745d7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | cf7b2ae4d70432fa94ebba3fbaab825481ae7189 (diff) |
riscv: Fix kernel time_init()
If of_clk_init() is not called in time_init(), clock providers defined
in the system device tree are not initialized, resulting in failures for
other devices to initialize due to missing clocks.
Similarly to other architectures and to the default kernel time_init()
implementation, call of_clk_init() before executing timer_probe() in
time_init().
Signed-off-by: Damien Le Moal <[email protected]>
Acked-by: Stephen Boyd <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions