mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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: Anirudh Ghayal <aghayal@codeaurora.org>