V4L/DVB (12783): tm6000: add xc2028/3028 to dvb
authorMichel Ludwig <michel.ludwig@gmail.com>
Wed, 18 Jul 2007 13:29:10 +0000 (10:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:39:34 +0000 (00:39 -0300)
Add experimental DVB frontend tuner interface to xc2028/3028

Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-i2c.c

index 2a8c169cf07f49436e8eaaaef6128beed578dcb5..62cd08de03ffd7ae277a821fc4a6779ec98725ef 100644 (file)
@@ -343,6 +343,14 @@ static int tm6000_tuner_callback(void *ptr, int command, int arg)
                        rc=tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN,
                                                TM6000_GPIO_CLK, 1);
                        break;
+               case 4:
+                       tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN,
+                                               TM6000_GPIO_4, 0x00);
+                       msleep(10);
+                       tm6000_set_reg (dev, REQ_03_SET_GET_MCU_PIN,
+                                               TM6000_GPIO_4, 0x01);
+                       break;
+
                }
        }
        return (rc);