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

Commit 4d31a4db authored by Jack Pham's avatar Jack Pham
Browse files

usb: dwc3: get rid of otg-capability



Remove the usage of the 'otg-capability' flag. Its usage has
evolved to become an indicator that dual-role support is
present, along with external VBUS detection for peripheral mode.
Furthermore, when it is false, it uses the untested and likely
broken OTG support built-in to the hardware, which somewhat
contradicts the name of this flag. Since this flag is always true
for current targets, remove it along with the unused OTG IRQ and
registers to allow for code simplification.

Change-Id: Ie8a0e9e60ef53e29f49966cf54b5a8ef1bb68be8
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 0f7d8a53
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