Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed7a3a9d authored by Peter Chen's avatar Peter Chen Committed by Felipe Balbi
Browse files

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



It has already been covered by udc core

Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent e44f1f4c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
			}