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

Skip to content
Commit 24929c28 authored by Udipto Goswami's avatar Udipto Goswami Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3: Avoid resume_work flush in pm_freeze/restore



dwc3_resume_work is dependent on sm_work which is a
freezable task. Therefore when control reaches
pm_freeze/restore, sm_work is frozen as part of freeze_processes()
called from system-wide suspend. So if any pending
work on sm_work is there and we try to flush, it will end up
in deadlock as freeze/restore cannot progress.

Fix this be avoiding flush work during pm_freeze/restore.

Change-Id: Icd19c6d9d53d5a804644c5584667d95929ecce6c
Signed-off-by: default avatarUdipto Goswami <ugoswami@codeaurora.org>
parent 2d2dea17
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