Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 09a2ef49 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: qpnp-qg: Fix the possible deadlock during suspend



There is a possible deadlock with two-threads (suspend callback
and sleep_work) are holding/waiting on the same mutex.

Fix this by cancelling the work before the mutex is held by
the suspend callback.

Change-Id: I65882067783100e7b9ecdc1e697b93948945b41b
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 1c72d008
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment