musb: sunxi: Allow host-side USB with external VBUS
[platform/kernel/u-boot.git] / drivers / usb / musb-new / sunxi.c
index 7e62e3f..dc4cfc2 100644 (file)
@@ -241,12 +241,6 @@ static int sunxi_musb_enable(struct musb *musb)
        musb_writeb(musb->mregs, USBC_REG_o_VEND0, 0);
 
        if (is_host_enabled(musb)) {
-               ret = sun4i_usb_phy_vbus_detect(&glue->phy);
-               if (ret == 1) {
-                       printf("A charger is plugged into the OTG: ");
-                       return -ENODEV;
-               }
-
                ret = sun4i_usb_phy_id_detect(&glue->phy);
                if (ret == 1) {
                        printf("No host cable detected: ");