usb: dwc3: Fix probe failure in host only mode
The commit 7681b2bac53("usb: dwc3: Change to
simulate VBUS without extcon/PMI") caused a regression
that in the case where the dwc3-msm driver is configured
in host only mode without any extcon present results in
probe failure for dwc3-msm driver. Fix the dr_mode
conditional check that is causing this issue.
Also remove setting vbus_active of dwc which is
not needed.
Change-Id: I578c2bc0056c0a14b242d98acc54a88be2c4c60a
Signed-off-by:
Sriharsha Allenki <sallenki@codeaurora.org>
Loading
Please register or sign in to comment