summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2007-07-18 10:29:10 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2007-07-18 10:29:10 -0300
commitada98edee24b6d5bc08363c4a4689cc73b036a90 (patch)
treebd0d9c9f8c25bf9d43f1d283233b1e671d5fe713 /linux
parent655d54939829b1914fc85735261b5d23e533056b (diff)
downloadmediapointer-dvb-s2-ada98edee24b6d5bc08363c4a4689cc73b036a90.tar.gz
mediapointer-dvb-s2-ada98edee24b6d5bc08363c4a4689cc73b036a90.tar.bz2
tm6000: Add experimental DVB frontend tuner interface to xc2028/3028.
From: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Michel Ludwig <michel.ludwig@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/staging/tm6000/tm6000-i2c.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/staging/tm6000/tm6000-i2c.c b/linux/drivers/staging/tm6000/tm6000-i2c.c
index dade4ab79..a7cf929a3 100644
--- a/linux/drivers/staging/tm6000/tm6000-i2c.c
+++ b/linux/drivers/staging/tm6000/tm6000-i2c.c
@@ -356,6 +356,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);