aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/core/hcd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index b70db6e78977..a97ed6d293e9 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -2347,6 +2347,7 @@ int usb_add_hcd(struct usb_hcd *hcd,
2347 (unsigned long long)hcd->rsrc_start); 2347 (unsigned long long)hcd->rsrc_start);
2348 } 2348 }
2349 2349
2350 hcd->state = HC_STATE_RUNNING;
2350 retval = hcd->driver->start(hcd); 2351 retval = hcd->driver->start(hcd);
2351 if (retval < 0) { 2352 if (retval < 0) {
2352 dev_err(hcd->self.controller, "startup error %d\n", retval); 2353 dev_err(hcd->self.controller, "startup error %d\n", retval);