summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHarry Yang <harryy@codeaurora.org>2016-08-29 16:06:50 -0700
committerNicholas Troast <ntroast@codeaurora.org>2016-10-06 16:30:24 -0700
commit81aa304c8dcb3e45f3e2304223cbf215013adb2e (patch)
treed818e18fcdcdd46523e05aa31e3e525afef6ef84 /tools/perf/scripts/python
parent166e851cfda93ef05954816a04246b053955c472 (diff)
qcom-charger: Fix a possible null ptr access of pl psy
The issue results from a earlier wrong assumption that parallel psy is available when master side is ready. The happens on boot with a strong charger attached, when FCC callback is about to redistribute charging currents while parallel charger has not yet probed, hence pl psy is invalid when accessed. This issue is fixed by introducing parallel charger as a parallel charging voter, which is also convenient for debugging purpose. CRs-Fixed: 1059499 Change-Id: Ic96d30a02c966704d98e047602e4292f576fe448 Signed-off-by: Harry Yang <harryy@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions