aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/tm6000/tm6000-core.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/staging/tm6000/tm6000-core.c b/drivers/staging/tm6000/tm6000-core.c
index c4e1aeb0195b..c56750338dd1 100644
--- a/drivers/staging/tm6000/tm6000-core.c
+++ b/drivers/staging/tm6000/tm6000-core.c
@@ -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;
@@ -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");
}
}
@@ -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);