Commit 8ae1fc6e authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (12839): tm6000: Another trial to fix analog streaming

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 717ecd2b
...@@ -51,7 +51,8 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req, ...@@ -51,7 +51,8 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
memcpy(data, buf, len); memcpy(data, buf, len);
} }
if (tm6000_debug & V4L2_DEBUG_I2C) { // if (tm6000_debug & V4L2_DEBUG_I2C) {
if(1){
if (!ini) if (!ini)
last=ini=jiffies; last=ini=jiffies;
...@@ -71,7 +72,7 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req, ...@@ -71,7 +72,7 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
for (i=0;i<len;i++) { for (i=0;i<len;i++) {
printk(" %02x",buf[i]); printk(" %02x",buf[i]);
} }
printk("\n"); printk("\n");
} }
} }
...@@ -81,7 +82,8 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req, ...@@ -81,7 +82,8 @@ int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
if (req_type & USB_DIR_IN) if (req_type & USB_DIR_IN)
memcpy(buf, data, len); memcpy(buf, data, len);
if (tm6000_debug & V4L2_DEBUG_I2C) { // if (tm6000_debug & V4L2_DEBUG_I2C) {
if(1) {
if (ret<0) { if (ret<0) {
if (req_type & USB_DIR_IN) if (req_type & USB_DIR_IN)
printk("<<< (len=%d)\n",len); printk("<<< (len=%d)\n",len);
......
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