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

Skip to content
Commit 22ab398e authored by Rohith Kollalsi's avatar Rohith Kollalsi
Browse files

usb: dwc3: gadget: Replace dev with its parent sysdev in ep_disable



Currently when device enters lpm, runtime resume is called on dev
instead of its parent sys dev in ep_disable. Since dev is in
suspended state during ep_disable it is leading to a warning
from runtime.c when trying to perform a runtime resume. Also it
is not correct to resume dev in ep_disable as sys dev which is
associated with dwc3_msm is responsible to bring the clocks into
active state and perform a runtime resume. Hence replace dev here
with sys dev.

Change-Id: If9515e73129f4607adb8fa7d41ce7165efca3782
Signed-off-by: default avatarRohith Kollalsi <rkollals@codeaurora.org>
parent b22b60a0
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