summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-12-06 14:41:29 -0800
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-12-12 12:16:32 -0800
commit658891b3b91f47fd768e99342db3b6afb05543c1 (patch)
tree2e7a69e028c505636e0c224f59de1dacb30d08a7 /tools/perf/scripts/python/bin
parenteba048d51838b24856588fd2b774a5d1c4de30c7 (diff)
qpnp-fg-gen3: fix a possible wake source count leak
Currently, in the power supply notifier callback, GEN3 FG driver calls pm_stay_awake() which increases the wake source count on its device before it schedules status_change_work. In case, if status_change_work is already pending, then pm_stay_awake() will not have a balanced pm_relax() call as the work will not get scheduled again if it's pending already. Fix this by scheduling status_change_work and hence call pm_stay_awake() only if it is not pending. Change-Id: I2b8e28f6bfe1a5813410c7b1276d4e229eb67e84 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions