aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/gadget/lpc32xx_udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/lpc32xx_udc.c b/drivers/usb/gadget/lpc32xx_udc.c
index d227d93ce899..8424947838ac 100644
--- a/drivers/usb/gadget/lpc32xx_udc.c
+++ b/drivers/usb/gadget/lpc32xx_udc.c
@@ -3005,6 +3005,7 @@ static int lpc32xx_start(struct usb_gadget_driver *driver,
3005 3005
3006 udc->driver = driver; 3006 udc->driver = driver;
3007 udc->gadget.dev.driver = &driver->driver; 3007 udc->gadget.dev.driver = &driver->driver;
3008 udc->gadget.dev.of_node = udc->dev->of_node;
3008 udc->enabled = 1; 3009 udc->enabled = 1;
3009 udc->selfpowered = 1; 3010 udc->selfpowered = 1;
3010 udc->vbus = 0; 3011 udc->vbus = 0;