diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 1f50a481de2c..0d66addde423 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -175,16 +175,6 @@ static int mt352_pinnacle_tuner_set_params(struct dvb_frontend* fe, | |||
175 | return mt352_pinnacle_init(fe); | 175 | return mt352_pinnacle_init(fe); |
176 | } | 176 | } |
177 | 177 | ||
178 | static int mt352_aver777_tuner_calc_regs(struct dvb_frontend *fe, struct dvb_frontend_parameters *params, u8* pllbuf, int buf_len) | ||
179 | { | ||
180 | if (buf_len < 5) | ||
181 | return -EINVAL; | ||
182 | |||
183 | pllbuf[0] = 0x61; | ||
184 | dvb_pll_configure(&dvb_pll_philips_td1316, pllbuf+1, params); | ||
185 | return 5; | ||
186 | } | ||
187 | |||
188 | static struct mt352_config pinnacle_300i = { | 178 | static struct mt352_config pinnacle_300i = { |
189 | .demod_address = 0x3c >> 1, | 179 | .demod_address = 0x3c >> 1, |
190 | .adc_clock = 20333, | 180 | .adc_clock = 20333, |
@@ -993,7 +983,8 @@ static int dvb_init(struct saa7134_dev *dev) | |||
993 | dev->dvb.frontend = dvb_attach(mt352_attach, &avermedia_777, | 983 | dev->dvb.frontend = dvb_attach(mt352_attach, &avermedia_777, |
994 | &dev->i2c_adap); | 984 | &dev->i2c_adap); |
995 | if (dev->dvb.frontend) { | 985 | if (dev->dvb.frontend) { |
996 | dev->dvb.frontend->ops.tuner_ops.calc_regs = mt352_aver777_tuner_calc_regs; | 986 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
987 | NULL, &dvb_pll_philips_td1316); | ||
997 | } | 988 | } |
998 | break; | 989 | break; |
999 | case SAA7134_BOARD_MD7134: | 990 | case SAA7134_BOARD_MD7134: |