summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2012-01-05 02:59:19 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-05 02:59:25 +0100
commit435c724232457f32e66d6460d036c5f64f67b0a7 (patch)
treec8448eaee30e46627ab89bb481fd88017a8d3ff5 /drivers/usb/host/xhci.c
parentUSB: update documentation for usbmon (diff)
parentxhci: Clean up 32-bit build warnings. (diff)
downloadlinux-435c724232457f32e66d6460d036c5f64f67b0a7.tar.xz
linux-435c724232457f32e66d6460d036c5f64f67b0a7.zip
Merge branch 'for-usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci into usb-next
* 'for-usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci: xhci: Clean up 32-bit build warnings. xhci: Properly handle COMP_2ND_BW_ERR
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r--drivers/usb/host/xhci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index dda84756c465..6bbe3c3a7111 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -1623,6 +1623,7 @@ static int xhci_configure_endpoint_result(struct xhci_hcd *xhci,
/* FIXME: can we allocate more resources for the HC? */
break;
case COMP_BW_ERR:
+ case COMP_2ND_BW_ERR:
dev_warn(&udev->dev, "Not enough bandwidth "
"for new device state.\n");
ret = -ENOSPC;