]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: gadget: mv_udc_core: delete pullup operation at .udc_start
authorPeter Chen <peter.chen@freescale.com>
Mon, 12 Jan 2015 08:37:57 +0000 (16:37 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:24:29 +0000 (12:24 -0600)
UDC core has already done it after .udc_start.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/mv_udc_core.c

index 253f3df8326a2f2bf4a207d98b0f61fbd8720b35..d32160d6463f5fd3ca16442cdb37f0f0289fb5dc 100644 (file)
@@ -1378,9 +1378,6 @@ static int mv_udc_start(struct usb_gadget *gadget,
                }
        }
 
-       /* pullup is always on */
-       mv_udc_pullup(&udc->gadget, 1);
-
        /* When boot with cable attached, there will be no vbus irq occurred */
        if (udc->qwork)
                queue_work(udc->qwork, &udc->vbus_work);