aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorPeter De Schrijver <[email protected]>2017-03-02 15:22:05 +0200
committerThierry Reding <[email protected]>2017-03-20 14:13:52 +0100
commit9619dba8325fce098bbc9ee2911d1b0150fec0c9 (patch)
tree00cf3a65beb868160656d2d73e9bbd5256aa26a2 /tools/perf/scripts/python/stackcollapse.py
parent3843832fc8cadc2d48ba4ea4cd350a696906ac42 (diff)
clk: tegra: Fix disable unused for clocks sharing enable bit
In case 2 clocks share an enable bit and one of them is enabled by a driver and the other one is not, CCF will think it's enabled because it will only look at the HW state. Therefore it will disable the clock and thus also disable the other clock which was enabled. Solve this by reading the initial state of the enable bit and incrementing the refcount if it's set. Signed-off-by: Peter De Schrijver <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions