diff options
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
-rw-r--r-- | drivers/usb/host/xhci-mem.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c index 858a82867e1d..fd888bc0422b 100644 --- a/drivers/usb/host/xhci-mem.c +++ b/drivers/usb/host/xhci-mem.c | |||
@@ -1803,6 +1803,8 @@ int xhci_mem_init(struct xhci_hcd *xhci, gfp_t flags) | |||
1803 | init_completion(&xhci->addr_dev); | 1803 | init_completion(&xhci->addr_dev); |
1804 | for (i = 0; i < MAX_HC_SLOTS; ++i) | 1804 | for (i = 0; i < MAX_HC_SLOTS; ++i) |
1805 | xhci->devs[i] = NULL; | 1805 | xhci->devs[i] = NULL; |
1806 | for (i = 0; i < MAX_HC_PORTS; ++i) | ||
1807 | xhci->resume_done[i] = 0; | ||
1806 | 1808 | ||
1807 | if (scratchpad_alloc(xhci, flags)) | 1809 | if (scratchpad_alloc(xhci, flags)) |
1808 | goto fail; | 1810 | goto fail; |