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

Commit 5e1cb915 authored by Manu Gautam's avatar Manu Gautam
Browse files

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: default avatarManu Gautam <mgautam@codeaurora.org>
parent e701f80b
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