Skip to content

Commit

Permalink
V4L/DVB (12836): tm6000: revert to an old way to copy video
Browse files Browse the repository at this point in the history
The new way is causing machine hangups. This one works.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed May 18, 2010
1 parent c144c03 commit ed0236a
Show file tree
Hide file tree
Showing 2 changed files with 196 additions and 205 deletions.
14 changes: 5 additions & 9 deletions drivers/staging/tm6000/tm6000-usb-isoc.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,20 @@ struct usb_isoc_ctl {
/* transfer buffers for isoc transfer */
char **transfer_buffer;

/* Last buffer control */
int pending;
int pos;
/* Last buffer command and region */
u8 cmd;
int pos, size, pktsize;

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

/* Stores incomplete commands */
u8 tbuf[TM6000_URB_MSG_LEN+4];
size_t len;
u32 tmp_buf;
int tmp_buf_len;

/* Stores already requested buffers */
struct tm6000_buffer *buf;

/* Stores the number of received fields */
int nfields;

/* Checks if a complete field were received */
int last_line;
unsigned int fields:2;
};
Loading

0 comments on commit ed0236a

Please sign in to comment.