summaryrefslogtreecommitdiff
path: root/scripts/basic/bin2c.c
diff options
context:
space:
mode:
authorAnirudh Ghayal <aghayal@codeaurora.org>2017-10-18 11:36:22 +0530
committerAnirudh Ghayal <aghayal@codeaurora.org>2017-11-03 08:28:01 +0530
commitfa88f5e4cb0ad0a5b735d448abf7eb049714cdb3 (patch)
tree8c3e0fb3c78e53474b702670a2d57e6151faf1f4 /scripts/basic/bin2c.c
parent11734d0451bd4ba9722ca5b2609490f66ead332c (diff)
power: qpnp-fg-gen3: Skip the status_change work if suspended
There is a scenario where the status change work can hold a mutex lock for ~1.5 seconds which can race with the FG resume callback. Avoid this condition by adding a state variable to track the suspend/resume state and skip executing the status change work while suspended. CRs-Fixed: 2101514 Change-Id: Ib5300a5dfce30c4c6bcc8d8428b664c184a83fb4 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Diffstat (limited to 'scripts/basic/bin2c.c')
0 files changed, 0 insertions, 0 deletions