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

Commit 97f6f5b2 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa Committed by Manu Gautam
Browse files

usb_bam: Allow HSUSB BAM to be enabled on bootup itself



HSUSB BAM is not NDP BAM and it must be enabled early before
starting peripheral controller to avoid switching USB core mode
from legacy to BAM with ongoing data transfers.
Also, there could be a possibility that USB OTG driver puts USB
in LPM after its probe incase USB is not connected and before
USB BAM driver is probed. This may result in unclocked access
while enabling USB BAM. To handle this make sure that USB BAM
is probed only after USB OTG and use pm_runtime APIs before
enabling HSUSB BAM.

CRs-Fixed: 848418
Change-Id: I0a5be01e5361ffa10e72b539930cf5e08497621a
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent da880e97
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