diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-18 20:38:49 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 00:59:34 -0400 |
commit | bd4956b8ec2075e965492647e0c7006a36efe5d9 (patch) | |
tree | 66d5ebecc0cdc84543cae07ca16a5d1a20aefb90 /drivers/media/dvb/bt8xx/dvb-bt8xx.c | |
parent | b12faeffb179e5397c7c443b0e86e447891125a6 (diff) |
V4L/DVB (3893): Convert calls from _pllbuf() to _calc_reg()
Johannes Stezenbach suggested this change - definite improvement.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/bt8xx/dvb-bt8xx.c')
-rw-r--r-- | drivers/media/dvb/bt8xx/dvb-bt8xx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 0f23ec04f7bc..09e18296b3ca 100644 --- a/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/drivers/media/dvb/bt8xx/dvb-bt8xx.c | |||
@@ -147,7 +147,7 @@ static int thomson_dtt7579_demod_init(struct dvb_frontend* fe) | |||
147 | return 0; | 147 | return 0; |
148 | } | 148 | } |
149 | 149 | ||
150 | static int thomson_dtt7579_tuner_pllbuf(struct dvb_frontend* fe, struct dvb_frontend_parameters* params, u8* pllbuf, int buf_len) | 150 | static int thomson_dtt7579_tuner_calc_regs(struct dvb_frontend* fe, struct dvb_frontend_parameters* params, u8* pllbuf, int buf_len) |
151 | { | 151 | { |
152 | u32 div; | 152 | u32 div; |
153 | unsigned char bs = 0; | 153 | unsigned char bs = 0; |
@@ -341,7 +341,7 @@ static int advbt771_samsung_tdtc9251dh0_demod_init(struct dvb_frontend* fe) | |||
341 | return 0; | 341 | return 0; |
342 | } | 342 | } |
343 | 343 | ||
344 | static int advbt771_samsung_tdtc9251dh0_tuner_pllbuf(struct dvb_frontend* fe, struct dvb_frontend_parameters* params, u8* pllbuf, int buf_len) | 344 | static int advbt771_samsung_tdtc9251dh0_tuner_calc_regs(struct dvb_frontend* fe, struct dvb_frontend_parameters* params, u8* pllbuf, int buf_len) |
345 | { | 345 | { |
346 | u32 div; | 346 | u32 div; |
347 | unsigned char bs = 0; | 347 | unsigned char bs = 0; |
@@ -512,7 +512,7 @@ static int digitv_alps_tded4_demod_init(struct dvb_frontend* fe) | |||
512 | return 0; | 512 | return 0; |
513 | } | 513 | } |
514 | 514 | ||
515 | static int digitv_alps_tded4_tuner_pllbuf(struct dvb_frontend* fe, struct dvb_frontend_parameters* params, u8* pllbuf, int buf_len) | 515 | static int digitv_alps_tded4_tuner_calc_regs(struct dvb_frontend* fe, struct dvb_frontend_parameters* params, u8* pllbuf, int buf_len) |
516 | { | 516 | { |
517 | u32 div; | 517 | u32 div; |
518 | struct dvb_ofdm_parameters *op = ¶ms->u.ofdm; | 518 | struct dvb_ofdm_parameters *op = ¶ms->u.ofdm; |
@@ -607,7 +607,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) | |||
607 | card->i2c_adapter); | 607 | card->i2c_adapter); |
608 | 608 | ||
609 | if (card->fe != NULL) { | 609 | if (card->fe != NULL) { |
610 | card->fe->ops->tuner_ops.pllbuf = thomson_dtt7579_tuner_pllbuf; | 610 | card->fe->ops->tuner_ops.calc_regs = thomson_dtt7579_tuner_calc_regs; |
611 | card->fe->ops->info.frequency_min = 174000000; | 611 | card->fe->ops->info.frequency_min = 174000000; |
612 | card->fe->ops->info.frequency_max = 862000000; | 612 | card->fe->ops->info.frequency_max = 862000000; |
613 | } | 613 | } |
@@ -642,7 +642,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) | |||
642 | card->fe = mt352_attach(&digitv_alps_tded4_config, card->i2c_adapter); | 642 | card->fe = mt352_attach(&digitv_alps_tded4_config, card->i2c_adapter); |
643 | 643 | ||
644 | if (card->fe != NULL) { | 644 | if (card->fe != NULL) { |
645 | card->fe->ops->tuner_ops.pllbuf = digitv_alps_tded4_tuner_pllbuf; | 645 | card->fe->ops->tuner_ops.calc_regs = digitv_alps_tded4_tuner_calc_regs; |
646 | dprintk ("dvb_bt8xx: an mt352 was detected on your digitv card\n"); | 646 | dprintk ("dvb_bt8xx: an mt352 was detected on your digitv card\n"); |
647 | } | 647 | } |
648 | break; | 648 | break; |
@@ -657,7 +657,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type) | |||
657 | case BTTV_BOARD_AVDVBT_771: | 657 | case BTTV_BOARD_AVDVBT_771: |
658 | card->fe = mt352_attach(&advbt771_samsung_tdtc9251dh0_config, card->i2c_adapter); | 658 | card->fe = mt352_attach(&advbt771_samsung_tdtc9251dh0_config, card->i2c_adapter); |
659 | if (card->fe != NULL) { | 659 | if (card->fe != NULL) { |
660 | card->fe->ops->tuner_ops.pllbuf = advbt771_samsung_tdtc9251dh0_tuner_pllbuf; | 660 | card->fe->ops->tuner_ops.calc_regs = advbt771_samsung_tdtc9251dh0_tuner_calc_regs; |
661 | card->fe->ops->info.frequency_min = 174000000; | 661 | card->fe->ops->info.frequency_min = 174000000; |
662 | card->fe->ops->info.frequency_max = 862000000; | 662 | card->fe->ops->info.frequency_max = 862000000; |
663 | } | 663 | } |