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

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
......@@ -1325,8 +1325,6 @@ static int fusb300_udc_stop(struct usb_gadget *g,
{
struct fusb300 *fusb300 = to_fusb300(g);
driver->unbind(&fusb300->gadget);
init_controller(fusb300);
fusb300->driver = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment