Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 199970
b: refs/heads/master
c: 0f9bdbc
h: refs/heads/master
v: v3
  • Loading branch information
Stefan Ringel authored and Mauro Carvalho Chehab committed Jun 1, 2010
1 parent 5616084 commit 5ca418b
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 2a15ac7ad625dc22885446016d730a451df1b7d4
refs/heads/master: 0f9bdbc2da442a78990579cabc1554446ed784a7
6 changes: 5 additions & 1 deletion trunk/drivers/staging/tm6000/tm6000-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,11 @@ static int copy_packet(struct urb *urb, u32 header, u8 **ptr, u8 *endp,
c = (header >> 24) & 0xff;

/* split the header fields */
size = (((header & 0x7e) << 1) -1) *4;
size = ((header & 0x7e) << 1);

if (size > 0)
size -= 4;

block = (header >> 7) & 0xf;
field = (header >> 11) & 0x1;
line = (header >> 12) & 0x1ff;
Expand Down

0 comments on commit 5ca418b

Please sign in to comment.