diff options
author | Igor M. Liplianin <liplianin@me.by> | 2012-12-28 17:40:33 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-12-28 18:37:36 -0500 |
commit | b858c331cdf402853be2c48c8f4f77173ef04da8 (patch) | |
tree | 456fdd9581b3416fa17b359b3e417af4cf4dd73e /drivers/media/pci/cx23885 | |
parent | 43385c8a645a25ddef7a45df8786ff26806f7e5d (diff) |
[media] m88rs2000: make use ts2020
Tuner part of Montage rs2000 chip is similar to ts2020 tuner.
Patch to use ts2020 code.
[mchehab@redhat.com: a few CodingStyle fixes]
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/cx23885')
-rw-r--r-- | drivers/media/pci/cx23885/cx23885-dvb.c | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/drivers/media/pci/cx23885/cx23885-dvb.c b/drivers/media/pci/cx23885/cx23885-dvb.c index a2ed0f759b0a..9c5ed10b2c5e 100644 --- a/drivers/media/pci/cx23885/cx23885-dvb.c +++ b/drivers/media/pci/cx23885/cx23885-dvb.c | |||
@@ -474,6 +474,7 @@ static struct ds3000_config tevii_ds3000_config = { | |||
474 | 474 | ||
475 | static struct ts2020_config tevii_ts2020_config = { | 475 | static struct ts2020_config tevii_ts2020_config = { |
476 | .tuner_address = 0x60, | 476 | .tuner_address = 0x60, |
477 | .clk_out_div = 1, | ||
477 | }; | 478 | }; |
478 | 479 | ||
479 | static struct cx24116_config dvbworld_cx24116_config = { | 480 | static struct cx24116_config dvbworld_cx24116_config = { |
@@ -500,20 +501,20 @@ static struct xc5000_config mygica_x8506_xc5000_config = { | |||
500 | }; | 501 | }; |
501 | 502 | ||
502 | static struct stv090x_config prof_8000_stv090x_config = { | 503 | static struct stv090x_config prof_8000_stv090x_config = { |
503 | .device = STV0903, | 504 | .device = STV0903, |
504 | .demod_mode = STV090x_SINGLE, | 505 | .demod_mode = STV090x_SINGLE, |
505 | .clk_mode = STV090x_CLK_EXT, | 506 | .clk_mode = STV090x_CLK_EXT, |
506 | .xtal = 27000000, | 507 | .xtal = 27000000, |
507 | .address = 0x6A, | 508 | .address = 0x6A, |
508 | .ts1_mode = STV090x_TSMODE_PARALLEL_PUNCTURED, | 509 | .ts1_mode = STV090x_TSMODE_PARALLEL_PUNCTURED, |
509 | .repeater_level = STV090x_RPTLEVEL_64, | 510 | .repeater_level = STV090x_RPTLEVEL_64, |
510 | .adc1_range = STV090x_ADC_2Vpp, | 511 | .adc1_range = STV090x_ADC_2Vpp, |
511 | .diseqc_envelope_mode = false, | 512 | .diseqc_envelope_mode = false, |
512 | 513 | ||
513 | .tuner_get_frequency = stb6100_get_frequency, | 514 | .tuner_get_frequency = stb6100_get_frequency, |
514 | .tuner_set_frequency = stb6100_set_frequency, | 515 | .tuner_set_frequency = stb6100_set_frequency, |
515 | .tuner_set_bandwidth = stb6100_set_bandwidth, | 516 | .tuner_set_bandwidth = stb6100_set_bandwidth, |
516 | .tuner_get_bandwidth = stb6100_get_bandwidth, | 517 | .tuner_get_bandwidth = stb6100_get_bandwidth, |
517 | }; | 518 | }; |
518 | 519 | ||
519 | static struct stb6100_config prof_8000_stb6100_config = { | 520 | static struct stb6100_config prof_8000_stb6100_config = { |