summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDhaval Patel <pdhaval@codeaurora.org>2016-10-11 10:26:07 -0700
committerDhaval Patel <pdhaval@codeaurora.org>2016-10-13 13:30:09 -0700
commit46027c0246a24f10ca0692ac517601948dbd1c4b (patch)
treed2a998767c54b36367f4258a9103b665c460b23d /tools/perf/scripts/python
parent0a1f32289c070064dcab6825a99bd8bdd8586625 (diff)
drm/msm: fix power handle APIs when clk are not present
Power handle API stores the clocks dt parsing return code in to an "unsigned integer" while of_node API may return an error code if clocks are not present in dtsi. That may lead to invalid memory allocation also. This patch fixes the clock parsing and avoids free if clocks are not allocated. Change-Id: I3199c86cfee9a3e0a97b902651841a9d2772359a Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions