diff options
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-av.c')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-av.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/drivers/media/dvb/ttpci/budget-av.c b/drivers/media/dvb/ttpci/budget-av.c index b30a5288e484..b7d1f2f18d3a 100644 --- a/drivers/media/dvb/ttpci/budget-av.c +++ b/drivers/media/dvb/ttpci/budget-av.c | |||
@@ -667,6 +667,11 @@ static struct tda1002x_config philips_cu1216_config_altaddress = { | |||
667 | .invert = 0, | 667 | .invert = 0, |
668 | }; | 668 | }; |
669 | 669 | ||
670 | static struct tda10023_config philips_cu1216_tda10023_config = { | ||
671 | .demod_address = 0x0c, | ||
672 | .invert = 1, | ||
673 | }; | ||
674 | |||
670 | static int philips_tu1216_tuner_init(struct dvb_frontend *fe) | 675 | static int philips_tu1216_tuner_init(struct dvb_frontend *fe) |
671 | { | 676 | { |
672 | struct budget *budget = (struct budget *) fe->dvb->priv; | 677 | struct budget *budget = (struct budget *) fe->dvb->priv; |
@@ -1019,9 +1024,10 @@ static void frontend_init(struct budget_av *budget_av) | |||
1019 | case SUBID_DVBC_KNC1_PLUS_MK3: | 1024 | case SUBID_DVBC_KNC1_PLUS_MK3: |
1020 | budget_av->reinitialise_demod = 1; | 1025 | budget_av->reinitialise_demod = 1; |
1021 | budget_av->budget.dev->i2c_bitrate = SAA7146_I2C_BUS_BIT_RATE_240; | 1026 | budget_av->budget.dev->i2c_bitrate = SAA7146_I2C_BUS_BIT_RATE_240; |
1022 | fe = dvb_attach(tda10023_attach, &philips_cu1216_config, | 1027 | fe = dvb_attach(tda10023_attach, |
1023 | &budget_av->budget.i2c_adap, | 1028 | &philips_cu1216_tda10023_config, |
1024 | read_pwm(budget_av)); | 1029 | &budget_av->budget.i2c_adap, |
1030 | read_pwm(budget_av)); | ||
1025 | if (fe) { | 1031 | if (fe) { |
1026 | fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set_params; | 1032 | fe->ops.tuner_ops.set_params = philips_cu1216_tuner_set_params; |
1027 | } | 1033 | } |