summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2020-12-15 09:08:14 -0500
committerTom Rini <[email protected]>2020-12-15 09:08:14 -0500
commit56f02f0ae85da8bb2dca66c7816dbb1429f92072 (patch)
tree03d5f3442dd9ddba2c62cd82a5d9f27b0497e220 /drivers/usb
parentf40825e18e0a8560991072114b9b10b33fdad95b (diff)
parent5ccd5d2cc98224108ae9fb09593a862c9caa5e80 (diff)
Merge tag 'u-boot-amlogic-20201215' of https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic
- fix pinctrl BIAS setup which caused failure on some eMMC models - fix dr-mode configuration in dwc3-meson-g12a glue driver
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/dwc3/dwc3-meson-g12a.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/usb/dwc3/dwc3-meson-g12a.c b/drivers/usb/dwc3/dwc3-meson-g12a.c
index 6567502cdd1..6f0bac2a00c 100644
--- 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