V4L/DVB (9391): Register definition bugs
authorMarko Schluessler <marco@lordzodiac.de>
Fri, 21 Sep 2007 21:59:17 +0000 (18:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:15 +0000 (17:53 -0200)
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>
drivers/media/dvb/frontends/stb0899_reg.h

index 6d2dc790e227f7432636687a37240f046257423b..cc65e08f9142e62f6fdfa75913d6d12a27b7e7a1 100644 (file)
 #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
 #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)
 
 #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
 
 #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