forked from luck/tmp_suning_uos_patched
usb: gadget: fusb300_udc: should not call gadget driver's .unbind
It has already been covered by udc core Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
ed7a3a9d8f
commit
3b0f069fa3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user