diff options
Diffstat (limited to 'drivers/usb/host/xhci-hcd.c')
-rw-r--r-- | drivers/usb/host/xhci-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-hcd.c b/drivers/usb/host/xhci-hcd.c index 451f53eec6d7..17f1caf2af64 100644 --- a/drivers/usb/host/xhci-hcd.c +++ b/drivers/usb/host/xhci-hcd.c | |||
@@ -1679,7 +1679,7 @@ int xhci_update_hub_device(struct usb_hcd *hcd, struct usb_device *hdev, | |||
1679 | xhci_warn(xhci, "Cannot update hub desc for unknown device.\n"); | 1679 | xhci_warn(xhci, "Cannot update hub desc for unknown device.\n"); |
1680 | return -EINVAL; | 1680 | return -EINVAL; |
1681 | } | 1681 | } |
1682 | config_cmd = xhci_alloc_command(xhci, true, mem_flags); | 1682 | config_cmd = xhci_alloc_command(xhci, true, true, mem_flags); |
1683 | if (!config_cmd) { | 1683 | if (!config_cmd) { |
1684 | xhci_dbg(xhci, "Could not allocate xHCI command structure.\n"); | 1684 | xhci_dbg(xhci, "Could not allocate xHCI command structure.\n"); |
1685 | return -ENOMEM; | 1685 | return -ENOMEM; |