summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko Schluessler <marco@lordzodiac.de>2007-09-21 18:59:17 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:15 -0200
commit43498ade8ade7cee1b983e5410c838ac84eef691 (patch)
tree24795f6fba7f2adee3298dcf7b5ed553a227dea6
parent08bcdbec683c8ded6d19f361cd806efcb77c287f (diff)
V4L/DVB (9391): Register definition bugs
Signed-off-by: Marko Schluessler <marco@lordzodiac.de> Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/stb0899_reg.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_reg.h b/drivers/media/dvb/frontends/stb0899_reg.h
index 6d2dc790e22..cc65e08f914 100644
--- a/drivers/media/dvb/frontends/stb0899_reg.h
+++ b/drivers/media/dvb/frontends/stb0899_reg.h
@@ -230,7 +230,7 @@
#define STB0899_OFFST_FECM_SYNCDIS 1
#define STB0899_WIDTH_FECM_SYNCDIS 1
#define STB0899_FECM_SYMI (0x01 << 0)
-#define STB0899_OFFST_FECM_SYMI 1
+#define STB0899_OFFST_FECM_SYMI 0
#define STB0899_WIDTH_FECM_SYMI 1
#define STB0899_VTH12 0xf534
@@ -1332,7 +1332,7 @@
#define STB0899_CSM_AGC_SHIFT (0x07 << 11)
#define STB0899_OFFST_CSM_AGC_SHIFT 11
#define STB0899_WIDTH_CSM_AGC_SHIFT 3
-#define STB0899_CSM_AGC_GAIN (0x09 << 2)
+#define STB0899_CSM_AGC_GAIN (0x1ff << 2)
#define STB0899_OFFST_CSM_AGC_GAIN 2
#define STB0899_WIDTH_CSM_AGC_GAIN 9
#define STB0899_CSM_TWO_PASS (0x01 << 1)
@@ -1344,19 +1344,19 @@
#define STB0899_OFF0_CSM_CNTRL2 0xf314
#define STB0899_BASE_CSM_CNTRL2 0x00000400
-#define STB0899_CSM_GAMMA_RHO_ACQ (0x09 << 9)
+#define STB0899_CSM_GAMMA_RHO_ACQ (0x1ff << 9)
#define STB0899_OFFST_CSM_GAMMA_RHOACQ 9
#define STB0899_WIDTH_CSM_GAMMA_RHOACQ 9
-#define STB0899_CSM_GAMMA_ACQ (0x09 << 0)
+#define STB0899_CSM_GAMMA_ACQ (0x1ff << 0)
#define STB0899_OFFST_CSM_GAMMA_ACQ 0
#define STB0899_WIDTH_CSM_GAMMA_ACQ 9
#define STB0899_OFF0_CSM_CNTRL3 0xf320
#define STB0899_BASE_CSM_CNTRL3 0x00000400
-#define STB0899_CSM_GAMMA_RHO_TRACK (0x09 << 9)
+#define STB0899_CSM_GAMMA_RHO_TRACK (0x1ff << 9)
#define STB0899_OFFST_CSM_GAMMA_RHOTRACK 9
#define STB0899_WIDTH_CSM_GAMMA_RHOTRACK 9
-#define STB0899_CSM_GAMMA_TRACK (0x09 << 0)
+#define STB0899_CSM_GAMMA_TRACK (0x1ff << 0)
#define STB0899_OFFST_CSM_GAMMA_TRACK 0
#define STB0899_WIDTH_CSM_GAMMA_TRACK 9
@@ -1714,7 +1714,7 @@
#define STB0899_DISPRECHARGE (0x01 << 2)
#define STB0899_OFFST_DISPRECHARGE 2
#define STB0899_WIDTH_DISPRECHARGE 1
-#define STB0899_DISEQCMODE (0x01 << 0)
+#define STB0899_DISEQCMODE (0x03 << 0)
#define STB0899_OFFST_DISEQCMODE 0
#define STB0899_WIDTH_DISEQCMODE 2