Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155962
b: refs/heads/master
c: 47692d1
h: refs/heads/master
v: v3
  • Loading branch information
Sarah Sharp authored and Greg Kroah-Hartman committed Jul 28, 2009
1 parent 57c5024 commit 1ec1779
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fcf8f576beafb8c5db8aee8a73eb73763fa7b0ad
refs/heads/master: 47692d179f7a88794bcd302e53ca7899d7592db9
6 changes: 4 additions & 2 deletions trunk/drivers/usb/host/xhci-mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,11 +480,13 @@ int xhci_endpoint_init(struct xhci_hcd *xhci,

/* FIXME dig Mult and streams info out of ep companion desc */

/* Allow 3 retries for everything but isoc */
/* Allow 3 retries for everything but isoc;
* error count = 0 means infinite retries.
*/
if (!usb_endpoint_xfer_isoc(&ep->desc))
ep_ctx->ep_info2 = ERROR_COUNT(3);
else
ep_ctx->ep_info2 = ERROR_COUNT(0);
ep_ctx->ep_info2 = ERROR_COUNT(1);

ep_ctx->ep_info2 |= xhci_get_endpoint_type(udev, ep);

Expand Down

0 comments on commit 1ec1779

Please sign in to comment.