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

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

usb: gadget: m66592-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 3b0f069f
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -1492,8 +1492,6 @@ static int m66592_udc_stop(struct usb_gadget *g,


	m66592_bclr(m66592, M66592_VBSE | M66592_URST, M66592_INTENB0);
	m66592_bclr(m66592, M66592_VBSE | M66592_URST, M66592_INTENB0);


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

	init_controller(m66592);
	init_controller(m66592);
	disable_controller(m66592);
	disable_controller(m66592);