diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-11-19 17:10:59 +0000 |
---|---|---|
committer | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-11-19 17:10:59 +0000 |
commit | d5b1dfdd38731fd13595ee828949098c7f9b62f7 (patch) | |
tree | 468163ceb6cba71836921ac76d958c65d3eee911 /linux/drivers/media/dvb | |
parent | 3c979bbe86b21226fde432c617dfa3080141f0bc (diff) | |
download | mediapointer-dvb-s2-d5b1dfdd38731fd13595ee828949098c7f9b62f7.tar.gz mediapointer-dvb-s2-d5b1dfdd38731fd13595ee828949098c7f9b62f7.tar.bz2 |
Support KNC1 DVBC cards with alternative tda10021 i2c address
From: Andrew de Quincey <adq_dvb@lidskialf.net>
For some reason, some of these cards have the tda10021 configured to a
different address. This adds support for such cards
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-av.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-av.c b/linux/drivers/media/dvb/ttpci/budget-av.c index c7312420c..461e8d75b 100644 --- a/linux/drivers/media/dvb/ttpci/budget-av.c +++ b/linux/drivers/media/dvb/ttpci/budget-av.c @@ -655,6 +655,10 @@ static struct tda10021_config philips_cu1216_config = { .demod_address = 0x0c, }; +static struct tda10021_config philips_cu1216_config_altaddress = { + .demod_address = 0x0d, +}; + @@ -1013,6 +1017,10 @@ static void frontend_init(struct budget_av *budget_av) fe = dvb_attach(tda10021_attach, &philips_cu1216_config, &budget_av->budget.i2c_adap, read_pwm(budget_av)); + if (fe == NULL) + fe = dvb_attach(tda10021_attach, &philips_cu1216_config_altaddress, + &budget_av->budget.i2c_adap, + read_pwm(budget_av)); if (fe) { budget_av->tda10021_poclkp = 1; budget_av->tda10021_set_frontend = fe->ops.set_frontend; |