diff options
author | Tero Kristo <[email protected]> | 2013-07-12 12:26:41 +0300 |
---|---|---|
committer | Mike Turquette <[email protected]> | 2014-01-17 12:37:03 -0800 |
commit | 924f9498acb004d8cb704a008f1060fad604ccca (patch) | |
tree | 5e3bc623bcda1111662262144d59fb6d028ce8f7 /tools/perf/util/trace-event-scripting.c | |
parent | 519ab8b202f37fb76cc6f32ef34da79716680d03 (diff) |
ARM: OMAP: hwmod: fix an incorrect clk type cast with _get_clkdm
If the main clock for a hwmod is of basic clock type, it is illegal to type
cast this to clk_hw_omap and will result in bogus data. Fixed by checking
the clock flags before attempting the type cast.
Signed-off-by: Tero Kristo <[email protected]>
Tested-by: Nishanth Menon <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions