diff options
| author | Anirudh Ghayal <aghayal@codeaurora.org> | 2017-10-18 11:36:22 +0530 |
|---|---|---|
| committer | Anirudh Ghayal <aghayal@codeaurora.org> | 2017-11-03 08:28:01 +0530 |
| commit | fa88f5e4cb0ad0a5b735d448abf7eb049714cdb3 (patch) | |
| tree | 8c3e0fb3c78e53474b702670a2d57e6151faf1f4 /scripts/basic/bin2c.c | |
| parent | 11734d0451bd4ba9722ca5b2609490f66ead332c (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
