diff options
author | Michael Hunold <hunold@linuxtv.org> | 2006-11-28 06:14:44 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-10 06:05:27 -0500 |
commit | c28089a65ca03890db120ee2bf6a7eb0cf603817 (patch) | |
tree | 1da073b8bd66beccc176117bc0ee63dcbc04d290 /drivers/media | |
parent | a08cc44ec12e0a994ee85ba365315dbee982d6a7 (diff) |
V4L/DVB (4895): Accept tuners on saa7146 i2c bus only on address 0x60.
Signed-off-by: Michael Hunold <hunold@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/tuner-core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index 40590bae5ff7..705daaa2a4ff 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -443,6 +443,10 @@ static int tuner_attach(struct i2c_adapter *adap, int addr, int kind) | |||
443 | printk("%02x ",buffer[i]); | 443 | printk("%02x ",buffer[i]); |
444 | printk("\n"); | 444 | printk("\n"); |
445 | } | 445 | } |
446 | /* HACK: This test were added to avoid tuner to probe tda9840 and tea6415c on the MXB card */ | ||
447 | if (adap->id == I2C_HW_SAA7146 && addr < 0x4a) | ||
448 | return -ENODEV; | ||
449 | |||
446 | /* autodetection code based on the i2c addr */ | 450 | /* autodetection code based on the i2c addr */ |
447 | if (!no_autodetect) { | 451 | if (!no_autodetect) { |
448 | switch (addr) { | 452 | switch (addr) { |