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

Commit ebcedaf8 authored by Jack Pham's avatar Jack Pham Committed by Azhar Shaikh
Browse files

usb: dwc3: msm: Remove last of dwc3_otg



The usb_phy structure embedded in dwc3_otg was only needed
to keep track of the host/peripheral states. Add a state
variable to dwc3_msm for the same effect.
The dwc3->dotg pointer is really indicating whether or not
device supports dual-role, so replace it with a simple boolean,
and remove the dwc3_otg_init/exit() functions.
Now we can finally remove what's left of dwc3_otg.h entirely.

Change-Id: Iee86503b876cc8912c9bbacbf778ea398ed7ec20
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent b099f39b
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