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

Skip to content
Commit cc6175c4 authored by Manu Gautam's avatar Manu Gautam Committed by Stephen Boyd
Browse files

USB: dwc3_otg: Set peripheral mode before re-initializing core



Moving from host to peripheral mode requires performing hardware
reset and re-initializing core. DWC3 core mode must be changed to
peripheral before DEVICE specific initialization, otherwise,
EP0 initialization would fail due to mode set to HOST and USB
wouldn't enumerate in peripheral mode.

Change-Id: I615442f885e602560d07e2278876d60744b6bd87
CRs-fixed: 469608
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 384e6e42
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