projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'v2021.01-rc5' into next
[platform/kernel/u-boot.git]
/
drivers
/
usb
/
dwc3
/
dwc3-meson-g12a.c
diff --git
a/drivers/usb/dwc3/dwc3-meson-g12a.c
b/drivers/usb/dwc3/dwc3-meson-g12a.c
index
acc7866
..
36955b5
100644
(file)
--- a/
drivers/usb/dwc3/dwc3-meson-g12a.c
+++ b/
drivers/usb/dwc3/dwc3-meson-g12a.c
@@
-269,9
+269,6
@@
int dwc3_meson_g12a_force_mode(struct udevice *dev, enum usb_dr_mode mode)
if (!priv->phys[USB2_OTG_PHY].dev)
return -EINVAL;
- if (mode == priv->otg_mode)
- return 0;
-
if (mode == USB_DR_MODE_HOST)
debug("%s: switching to Host Mode\n", __func__);
else