From: Peter Chen Date: Wed, 21 May 2014 01:04:17 +0000 (+0800) Subject: usb: gadget: fsl_udc_core: should not call gadget driver's .unbind X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed7a3a9d8f507a18ce80d942d5880fed30de4a38;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git usb: gadget: fsl_udc_core: should not call gadget driver's .unbind It has already been covered by udc core Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/fsl_udc_core.c b/drivers/usb/gadget/fsl_udc_core.c index ccbb3023cf42..57944ee8ad90 100644 --- a/drivers/usb/gadget/fsl_udc_core.c +++ b/drivers/usb/gadget/fsl_udc_core.c @@ -1957,7 +1957,6 @@ static int fsl_udc_start(struct usb_gadget *g, &udc_controller->gadget); if (retval < 0) { ERR("can't bind to transceiver\n"); - driver->unbind(&udc_controller->gadget); udc_controller->driver = 0; return retval; }