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

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

usb: gadget: fusb300_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 ed7a3a9d
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -1325,8 +1325,6 @@ static int fusb300_udc_stop(struct usb_gadget *g,
{
{
	struct fusb300 *fusb300 = to_fusb300(g);
	struct fusb300 *fusb300 = to_fusb300(g);


	driver->unbind(&fusb300->gadget);

	init_controller(fusb300);
	init_controller(fusb300);
	fusb300->driver = NULL;
	fusb300->driver = NULL;