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

Commit 94058951 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

usb: dwc3-msm: Relax PM wakelock if PM resume from B_SUSPEND state



The driver holds PM wakelock if PM resume is called. If the
device was in B_SUSPEND(peripheral mode bus suspend) when
suspended earlier, then we will not be releasing the wakelock
from sm_work. Do so in order to allow system suspend to happen
again.

Change-Id: I07396a9ea89b2cdc7683d818c589d2e29bcddfe0
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 63477afc
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