Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 201949
b: refs/heads/master
c: ccfb302
h: refs/heads/master
i:
  201947: f6ae245
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 98dd072 commit 683ec2d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 758bb0b3e77d7876b76e48b4ac20f473be004421
refs/heads/master: ccfb30288228aaaf40a849bffe434bc9eb46b23c
4 changes: 2 additions & 2 deletions trunk/drivers/staging/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,15 +314,15 @@ static int copy_streams(u8 *data, unsigned long len,
break;
}
}
if (cpysize < size) {
if (ptr + pktsize > endp) {
/* End of URB packet, but cmd processing is not
* complete. Preserve the state for a next packet
*/
dev->isoc_ctl.pos = pos + cpysize;
dev->isoc_ctl.size = size - cpysize;
dev->isoc_ctl.cmd = cmd;
dev->isoc_ctl.pktsize = pktsize - (endp - ptr);
ptr += cpysize;
ptr += endp - ptr;
} else {
dev->isoc_ctl.cmd = 0;
ptr += pktsize;
Expand Down

0 comments on commit 683ec2d

Please sign in to comment.