summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2007-11-02 12:54:18 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2007-11-02 12:54:18 -0200
commit678b15bd24265bac4b08d724f2e864cc36a24a37 (patch)
tree89fb5ecce1eee8bb9a61a3116386f460492cf015
parent5fc082034aea45c93d3fd729284e1baa8987ca02 (diff)
downloadmediapointer-dvb-s2-678b15bd24265bac4b08d724f2e864cc36a24a37.tar.gz
mediapointer-dvb-s2-678b15bd24265bac4b08d724f2e864cc36a24a37.tar.bz2
tm6000: a few registers is needed from the sif/noif setings
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--linux/drivers/staging/tm6000/tm6000-stds.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/linux/drivers/staging/tm6000/tm6000-stds.c b/linux/drivers/staging/tm6000/tm6000-stds.c
index 292c27dc1..7dd4dc0b0 100644
--- a/linux/drivers/staging/tm6000/tm6000-stds.c
+++ b/linux/drivers/staging/tm6000/tm6000-stds.c
@@ -782,6 +782,13 @@ static int tm6000_load_std(struct tm6000_core *dev,
if (!set[i].req)
return 0;
+ /* FIXME: REQ 8 settings are for tm6010
+ not tested yet
+ This doesn't work with tm5600
+ */
+ if (set[i].req == REQ_08_SET_GET_AVREG_BIT)
+ continue;
+
rc = tm6000_set_reg(dev, set[i].req, set[i].reg, set[i].value);
if (rc < 0) {
printk(KERN_ERR "Error %i while setting "
@@ -798,7 +805,7 @@ static int tm6000_set_tv(struct tm6000_core *dev, int pos)
{
int rc;
-#if 0
+#if 1
/* FIXME: This code is for tm6010 - not tested yet - doesn't work with
tm5600
*/