Skip to content

Commit

Permalink
V4L/DVB (4895): Accept tuners on saa7146 i2c bus only on address 0x60.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Hunold <hunold@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Michael Hunold authored and Mauro Carvalho Chehab committed Dec 10, 2006
1 parent a08cc44 commit c28089a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ static int tuner_attach(struct i2c_adapter *adap, int addr, int kind)
printk("%02x ",buffer[i]);
printk("\n");
}
/* HACK: This test were added to avoid tuner to probe tda9840 and tea6415c on the MXB card */
if (adap->id == I2C_HW_SAA7146 && addr < 0x4a)
return -ENODEV;

/* autodetection code based on the i2c addr */
if (!no_autodetect) {
switch (addr) {
Expand Down

0 comments on commit c28089a

Please sign in to comment.