Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233666
b: refs/heads/master
c: bcd2fde
h: refs/heads/master
v: v3
  • Loading branch information
Paul Zimmerman authored and Sarah Sharp committed Feb 20, 2011
1 parent c07a358 commit e449a4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5807795bd4dececdf553719cc02869e633395787
refs/heads/master: bcd2fde05341cef0052e49566ec88b406a521cf3
2 changes: 1 addition & 1 deletion trunk/drivers/usb/host/xhci-ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -2374,7 +2374,7 @@ static unsigned int count_sg_trbs_needed(struct xhci_hcd *xhci, struct urb *urb)
num_trbs++;

/* How many more 64KB chunks to transfer, how many more TRBs? */
while (running_total < sg_dma_len(sg)) {
while (running_total < sg_dma_len(sg) && running_total < temp) {
num_trbs++;
running_total += TRB_MAX_BUFF_SIZE;
}
Expand Down

0 comments on commit e449a4d

Please sign in to comment.