Commit ed0236af authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (12836): tm6000: revert to an old way to copy video

The new way is causing machine hangups. This one works.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent c144c037
...@@ -34,24 +34,20 @@ struct usb_isoc_ctl { ...@@ -34,24 +34,20 @@ struct usb_isoc_ctl {
/* transfer buffers for isoc transfer */ /* transfer buffers for isoc transfer */
char **transfer_buffer; char **transfer_buffer;
/* Last buffer control */ /* Last buffer command and region */
int pending; u8 cmd;
int pos; int pos, size, pktsize;
/* Last field: ODD or EVEN? */ /* Last field: ODD or EVEN? */
int field; int field;
/* Stores incomplete commands */ /* Stores incomplete commands */
u8 tbuf[TM6000_URB_MSG_LEN+4]; u32 tmp_buf;
size_t len; int tmp_buf_len;
/* Stores already requested buffers */ /* Stores already requested buffers */
struct tm6000_buffer *buf; struct tm6000_buffer *buf;
/* Stores the number of received fields */ /* Stores the number of received fields */
int nfields; int nfields;
/* Checks if a complete field were received */
int last_line;
unsigned int fields:2;
}; };
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment