V4L/DVB: tm6000: fix some info messages
[safe/jmp/linux-2.6] / drivers / staging / tm6000 / tm6000-core.c
index 9d66a3f..bf40aa8 100644 (file)
@@ -1,5 +1,5 @@
 /*
-   tm6000-core.c - driver for TM5600/TM6000 USB video capture devices
+   tm6000-core.c - driver for TM5600/TM6000/TM6010 USB video capture devices
 
    Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
 
@@ -108,6 +108,7 @@ int tm6000_set_reg (struct tm6000_core *dev, u8 req, u16 value, u16 index)
                tm6000_read_write_usb (dev, USB_DIR_OUT | USB_TYPE_VENDOR,
                                       req, value, index, NULL, 0);
 }
+EXPORT_SYMBOL_GPL(tm6000_set_reg);
 
 int tm6000_get_reg (struct tm6000_core *dev, u8 req, u16 value, u16 index)
 {
@@ -122,6 +123,7 @@ int tm6000_get_reg (struct tm6000_core *dev, u8 req, u16 value, u16 index)
 
        return *buf;
 }
+EXPORT_SYMBOL_GPL(tm6000_get_reg);
 
 int tm6000_get_reg16 (struct tm6000_core *dev, u8 req, u16 value, u16 index)
 {
@@ -414,6 +416,13 @@ struct reg_init tm6010_init_tab[] = {
 
        { REQ_05_SET_GET_USBREG, 0x18, 0x00 },
 
+       { REQ_07_SET_GET_AVREG, 0xdc, 0xaa },
+       { REQ_07_SET_GET_AVREG, 0xdd, 0x30 },
+       { REQ_07_SET_GET_AVREG, 0xde, 0x20 },
+       { REQ_07_SET_GET_AVREG, 0xdf, 0xd0 },
+       { REQ_04_EN_DISABLE_MCU_INT, 0x02, 0x00 },
+       { REQ_07_SET_GET_AVREG, 0xd8, 0x2f },
+
        /* set remote wakeup key:any key wakeup */
        { REQ_07_SET_GET_AVREG,  0xe5,  0xfe },
        { REQ_07_SET_GET_AVREG,  0xda,  0xff },