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

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

usb: gadget: omap_udc: 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 a6c7c1c4
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -2079,10 +2079,7 @@ static int omap_udc_start(struct usb_gadget *g,
						&udc->gadget);
		if (status < 0) {
			ERR("can't bind to transceiver\n");
			if (driver->unbind) {
				driver->unbind(&udc->gadget);
			udc->driver = NULL;
			}
			goto done;
		}
	} else {