]> Git Repo - u-boot.git/blobdiff - drivers/usb/dwc3/dwc3-meson-g12a.c
Merge tag 'dm-pull-5jan21' of git://git.denx.de/u-boot-dm into next
[u-boot.git] / drivers / usb / dwc3 / dwc3-meson-g12a.c
index 6f99fb27f3f7521a4df2f230d34234ef6a0338b3..bd8bf227c8bf0a4258dfaea5ee849c852654412b 100644 (file)
@@ -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
This page took 0.025629 seconds and 4 git commands to generate.