diff options
author | Purna Chandra Mandal <[email protected]> | 2016-05-17 10:35:52 +0530 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2016-05-17 11:22:51 +0200 |
commit | 6e4ad1b413604b9130bdbe532aafdbd47ff5318e (patch) | |
tree | 534e6d4b5d3a5689d7320742ae1e3036f10d07e7 /tools/perf/util/trace-event-scripting.c | |
parent | 9184dc8ffa56844352b3b9860e562ec4ee41176f (diff) |
MIPS: pic32mzda: fix getting timer clock rate.
PIC32 clock driver is now implemented as platform driver instead of
as part of of_clk_init(). It meants all the clock modules are available
quite late in the boot sequence. So request for CPU clock by clk_get_sys()
and clk_get_rate() to find c0_timer rate fails.
To fix this use PIC32 specific early clock functions implemented for early
console support.
Signed-off-by: Purna Chandra Mandal <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: Joshua Henderson <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/13262/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions