Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271805
b: refs/heads/master
c: 480992b
h: refs/heads/master
i:
  271803: 9f33245
v: v3
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Sep 11, 2011
1 parent f3ef543 commit 75d7ec6
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8d64d4f67eb051551c0702501c35e9cc27d8b75d
refs/heads/master: 480992b357d153b8417ba242fc43e96d90cff94c
5 changes: 4 additions & 1 deletion trunk/drivers/media/video/gspca/gspca.c
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,10 @@ static int create_urbs(struct gspca_dev *gspca_dev,
ep->desc.bEndpointAddress);
urb->transfer_flags = URB_ISO_ASAP
| URB_NO_TRANSFER_DMA_MAP;
urb->interval = ep->desc.bInterval;
if (gspca_dev->dev->speed == USB_SPEED_LOW)
urb->interval = ep->desc.bInterval;
else
urb->interval = 1 << (ep->desc.bInterval - 1);
urb->complete = isoc_irq;
urb->number_of_packets = npkt;
for (i = 0; i < npkt; i++) {
Expand Down

0 comments on commit 75d7ec6

Please sign in to comment.