Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250347
b: refs/heads/master
c: 423c79e
h: refs/heads/master
i:
  250345: 359fdb3
  250343: 1951517
v: v3
  • Loading branch information
Stefan Ringel authored and Mauro Carvalho Chehab committed May 21, 2011
1 parent 18078c4 commit 249c94f
Show file tree
Hide file tree
Showing 3 changed files with 6 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: 2a7b6a404b4c6a9184b60b89607d5f883c43fa62
refs/heads/master: 423c79e3fed751c244aceb39031920669e1d039a
2 changes: 1 addition & 1 deletion trunk/drivers/staging/tm6000/tm6000-usb-isoc.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct usb_isoc_ctl {
int pos, size, pktsize;

/* Last field: ODD or EVEN? */
int vfield;
int vfield, field;

/* Stores incomplete commands */
u32 tmp_buf;
Expand Down
5 changes: 4 additions & 1 deletion trunk/drivers/staging/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ static int copy_streams(u8 *data, unsigned long len,
size = dev->isoc_ctl.size;
pos = dev->isoc_ctl.pos;
pktsize = dev->isoc_ctl.pktsize;
field = dev->isoc_ctl.field;
}
cpysize = (endp - ptr > size) ? size : endp - ptr;
if (cpysize) {
Expand All @@ -359,7 +360,8 @@ static int copy_streams(u8 *data, unsigned long len,
/* Need some code to copy pts */
u32 pts;
pts = *(u32 *)ptr;
printk(KERN_INFO "%s: field %d, PTS %x", dev->name, field, pts);
dprintk(dev, V4L2_DEBUG_ISOC, "field %d, PTS %x",
field, pts);
break;
}
}
Expand All @@ -371,6 +373,7 @@ static int copy_streams(u8 *data, unsigned long len,
dev->isoc_ctl.pos = pos + cpysize;
dev->isoc_ctl.size = size - cpysize;
dev->isoc_ctl.cmd = cmd;
dev->isoc_ctl.field = field;
dev->isoc_ctl.pktsize = pktsize - (endp - ptr);
ptr += endp - ptr;
} else {
Expand Down

0 comments on commit 249c94f

Please sign in to comment.