diff options
Diffstat (limited to 'drivers/usb/gadget/m66592-udc.c')
-rw-r--r-- | drivers/usb/gadget/m66592-udc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/m66592-udc.c b/drivers/usb/gadget/m66592-udc.c index ae33e535c283..21a20a6ffb66 100644 --- a/drivers/usb/gadget/m66592-udc.c +++ b/drivers/usb/gadget/m66592-udc.c | |||
@@ -1471,7 +1471,6 @@ static int m66592_udc_start(struct usb_gadget *g, | |||
1471 | /* hook up the driver */ | 1471 | /* hook up the driver */ |
1472 | driver->driver.bus = NULL; | 1472 | driver->driver.bus = NULL; |
1473 | m66592->driver = driver; | 1473 | m66592->driver = driver; |
1474 | m66592->gadget.dev.driver = &driver->driver; | ||
1475 | 1474 | ||
1476 | m66592_bset(m66592, M66592_VBSE | M66592_URST, M66592_INTENB0); | 1475 | m66592_bset(m66592, M66592_VBSE | M66592_URST, M66592_INTENB0); |
1477 | if (m66592_read(m66592, M66592_INTSTS0) & M66592_VBSTS) { | 1476 | if (m66592_read(m66592, M66592_INTSTS0) & M66592_VBSTS) { |
@@ -1494,7 +1493,6 @@ static int m66592_udc_stop(struct usb_gadget *g, | |||
1494 | m66592_bclr(m66592, M66592_VBSE | M66592_URST, M66592_INTENB0); | 1493 | m66592_bclr(m66592, M66592_VBSE | M66592_URST, M66592_INTENB0); |
1495 | 1494 | ||
1496 | driver->unbind(&m66592->gadget); | 1495 | driver->unbind(&m66592->gadget); |
1497 | m66592->gadget.dev.driver = NULL; | ||
1498 | 1496 | ||
1499 | init_controller(m66592); | 1497 | init_controller(m66592); |
1500 | disable_controller(m66592); | 1498 | disable_controller(m66592); |