usb: gadget: m66592-udc: should not call gadget driver's .unbind
authorPeter Chen <peter.chen@freescale.com>
Wed, 21 May 2014 01:04:19 +0000 (09:04 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 30 Jun 2014 18:25:18 +0000 (13:25 -0500)
It has already been covered by udc core

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

index 3d6609b5265ef24b495e23c7ca53af61a760f480..de88d33b44b2897fea87b053b8709050c41adf1f 100644 (file)
@@ -1492,8 +1492,6 @@ static int m66592_udc_stop(struct usb_gadget *g,
 
        m66592_bclr(m66592, M66592_VBSE | M66592_URST, M66592_INTENB0);
 
-       driver->unbind(&m66592->gadget);
-
        init_controller(m66592);
        disable_controller(m66592);