]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (7422): dvb-pll: remove support for Philips FMD1216ME
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 22 Apr 2008 17:46:19 +0000 (14:46 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:54 +0000 (14:07 -0300)
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/dvb-pll.c
drivers/media/dvb/frontends/dvb-pll.h

index 7a25f872c094c494c7d4512a4677af0d39d46e1a..7735e7484e7883f3bdedab1abc7aa09f9f83c06e 100644 (file)
@@ -81,12 +81,6 @@ struct dvb_pll_desc {
 /* descriptions                                                */
 
 
-/*     0x04 = 166.67 kHz divider
-
-       0x80 = AGC Time constant 50ms Iagc = 9 uA
-       0x20 = AGC Take over point = 112 dBuV */
-static u8 tua603x_agc112[] = { 2, 0x80|0x40|0x18|0x04|0x01, 0x80|0x20 };
-
 static struct dvb_pll_desc dvb_pll_thomson_dtt7579 = {
        .name  = "Thomson dtt7579",
        .min   = 177000000,
@@ -253,37 +247,6 @@ static struct dvb_pll_desc dvb_pll_tua6034 = {
 };
 
 
-/* Philips FMD1216ME
- * used in Medion Hybrid PCMCIA card and USB Box
- */
-static void fmd1216me_bw(struct dvb_frontend *fe, u8 *buf,
-                        const struct dvb_frontend_parameters *params)
-{
-       if (params->u.ofdm.bandwidth == BANDWIDTH_8_MHZ &&
-           params->frequency >= 158870000)
-               buf[3] |= 0x08;
-}
-
-static struct dvb_pll_desc dvb_pll_fmd1216me = {
-       .name = "Philips FMD1216ME",
-       .min = 50870000,
-       .max = 858000000,
-       .iffreq= 36125000,
-       .set   = fmd1216me_bw,
-       .initdata = tua603x_agc112,
-       .sleepdata = (u8[]){ 4, 0x9c, 0x60, 0x85, 0x54 },
-       .count = 7,
-       .entries = {
-               { 143870000, 166667, 0xbc, 0x41 },
-               { 158870000, 166667, 0xf4, 0x41 },
-               { 329870000, 166667, 0xbc, 0x42 },
-               { 441870000, 166667, 0xf4, 0x42 },
-               { 625870000, 166667, 0xbc, 0x44 },
-               { 803870000, 166667, 0xf4, 0x44 },
-               { 999999999, 166667, 0xfc, 0x44 },
-       }
-};
-
 /* ALPS TDED4
  * used in Nebula-Cards and USB boxes
  */
@@ -494,7 +457,6 @@ static struct dvb_pll_desc *pll_list[] = {
        [DVB_PLL_ENV57H1XD5]             = &dvb_pll_env57h1xd5,
        [DVB_PLL_TUA6034]                = &dvb_pll_tua6034,
        [DVB_PLL_TDA665X]                = &dvb_pll_tda665x,
-       [DVB_PLL_FMD1216ME]              = &dvb_pll_fmd1216me,
        [DVB_PLL_TDED4]                  = &dvb_pll_tded4,
        [DVB_PLL_TUV1236D]               = &dvb_pll_tuv1236d,
        [DVB_PLL_TDHU2]                  = &dvb_pll_tdhu2,
index ec50671907a15413c1ed749ebe47432f5ab4536b..48cd41fac1e1c755c7885d57f69bf6adf8c059ca 100644 (file)
@@ -17,7 +17,6 @@
 #define DVB_PLL_ENV57H1XD5              9
 #define DVB_PLL_TUA6034                10
 #define DVB_PLL_TDA665X                12
-#define DVB_PLL_FMD1216ME              13
 #define DVB_PLL_TDED4                  14
 #define DVB_PLL_TUV1236D               15
 #define DVB_PLL_TDHU2                  16