aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-11 16:44:25 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-11 16:44:25 -0400
commit1c01a80cfec6f806246f31ff2680cd3639b30e67 (patch)
tree0b554aad2ec1da71ecf6339d4ba51617bfe1dc3c /drivers/usb/host/xhci.c
parentc44d79950b2daa1025e62eede73e4e4a274d1ef3 (diff)
parent4a9f65f6304a00f6473e83b19c1e83caa1e42530 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/smsc911x.c
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r--drivers/usb/host/xhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 9a3645fd759..196e0181b2e 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -741,7 +741,7 @@ int xhci_resume(struct xhci_hcd *xhci, bool hibernated)
741 int retval; 741 int retval;
742 742
743 /* Wait a bit if either of the roothubs need to settle from the 743 /* Wait a bit if either of the roothubs need to settle from the
744 * transistion into bus suspend. 744 * transition into bus suspend.
745 */ 745 */
746 if (time_before(jiffies, xhci->bus_state[0].next_statechange) || 746 if (time_before(jiffies, xhci->bus_state[0].next_statechange) ||
747 time_before(jiffies, 747 time_before(jiffies,
@@ -2072,7 +2072,7 @@ int xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev,
2072 return -EINVAL; 2072 return -EINVAL;
2073 } 2073 }
2074 vdev = xhci->devs[udev->slot_id]; 2074 vdev = xhci->devs[udev->slot_id];
2075 /* Mark each endpoint as being in transistion, so 2075 /* Mark each endpoint as being in transition, so
2076 * xhci_urb_enqueue() will reject all URBs. 2076 * xhci_urb_enqueue() will reject all URBs.
2077 */ 2077 */
2078 for (i = 0; i < num_eps; i++) { 2078 for (i = 0; i < num_eps; i++) {