Explorar el Código

usb: gadget: fusb300_udc: should not call gadget driver's .unbind

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>
Peter Chen hace 11 años
padre
commit
3b0f069fa3
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  1. 0 2
      drivers/usb/gadget/fusb300_udc.c

+ 0 - 2
drivers/usb/gadget/fusb300_udc.c

@@ -1325,8 +1325,6 @@ static int fusb300_udc_stop(struct usb_gadget *g,
 {
 	struct fusb300 *fusb300 = to_fusb300(g);
 
-	driver->unbind(&fusb300->gadget);
-
 	init_controller(fusb300);
 	fusb300->driver = NULL;