usb: ehci-msm-hsic: Disable runtime PM until device connects
Runtime PM is enabled by USB core for root-hubs. However for
HSIC host, HCD must not be suspended to allow detection of HSIC
device and enumeration. To handle this driver currently returns
-EAGAIN. Runtime PM framework ignores this errors and schedules
suspend for HCD device as autosuspend is enabled. This results
in CPU continuously trying to suspend HSIC HCD and results in
high CPU usage. Fix this by keeping runtim PM disabled for HCD
until HSIC device gets detected.
Change-Id: I41d0bec610c55ea17491c2d5e6a8a12cd307493f
Signed-off-by:
Manu Gautam <mgautam@codeaurora.org>
Loading
Please register or sign in to comment