Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c28089a6 authored by Michael Hunold's avatar Michael Hunold Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (4895): Accept tuners on saa7146 i2c bus only on address 0x60.

parent a08cc44e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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) {