Merge tag 'v2021.01-rc5' into next
[platform/kernel/u-boot.git] / drivers / usb / dwc3 / dwc3-meson-g12a.c
index acc7866..36955b5 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