Skip to content

Commit

Permalink
V4L/DVB (12839): tm6000: Another trial to fix analog streaming
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed May 18, 2010
1 parent 717ecd2 commit 8ae1fc6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions drivers/staging/tm6000/tm6000-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
memcpy(data, buf, len);
}

if (tm6000_debug & V4L2_DEBUG_I2C) {
// if (tm6000_debug & V4L2_DEBUG_I2C) {
if(1){
if (!ini)
last=ini=jiffies;

Expand All @@ -71,7 +72,7 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
for (i=0;i<len;i++) {
printk(" %02x",buf[i]);
}
printk("\n");
printk("\n");
}
}

Expand All @@ -81,7 +82,8 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
if (req_type & USB_DIR_IN)
memcpy(buf, data, len);

if (tm6000_debug & V4L2_DEBUG_I2C) {
// if (tm6000_debug & V4L2_DEBUG_I2C) {
if(1) {
if (ret<0) {
if (req_type & USB_DIR_IN)
printk("<<< (len=%d)\n",len);
Expand Down

0 comments on commit 8ae1fc6

Please sign in to comment.