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

Commit fa1b2ca4 authored by Jean Delvare's avatar Jean Delvare
Browse files

i2c: Do not probe for TV chips on Voodoo3 adapters



There's no point in giving the I2C bus of Voodoo3 adapters a class
value, there's no video chip driver checking for it anymore. If
support is ever needed, the video device should be instantiated
explicitly rather than probed.

To the best of my knowledge the only video chip that can be found on
these boards is a BT869 video encoder, for which no support exists
currently.

Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarKrzysztof Helt <krzysztof.h1@wp.pl>
parent 66b650f0
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -163,7 +163,6 @@ static struct i2c_algo_bit_data voo_i2c_bit_data = {


static struct i2c_adapter voodoo3_i2c_adapter = {
static struct i2c_adapter voodoo3_i2c_adapter = {
	.owner		= THIS_MODULE,
	.owner		= THIS_MODULE,
	.class		= I2C_CLASS_TV_ANALOG, 
	.name		= "I2C Voodoo3/Banshee adapter",
	.name		= "I2C Voodoo3/Banshee adapter",
	.algo_data	= &voo_i2c_bit_data,
	.algo_data	= &voo_i2c_bit_data,
};
};
+0 −1
Original line number Original line Diff line number Diff line
@@ -1315,7 +1315,6 @@ static int __devinit tdfxfb_setup_i2c_bus(struct tdfxfb_i2c_chan *chan,


	strlcpy(chan->adapter.name, name, sizeof(chan->adapter.name));
	strlcpy(chan->adapter.name, name, sizeof(chan->adapter.name));
	chan->adapter.owner		= THIS_MODULE;
	chan->adapter.owner		= THIS_MODULE;
	chan->adapter.class		= I2C_CLASS_TV_ANALOG;
	chan->adapter.algo_data		= &chan->algo;
	chan->adapter.algo_data		= &chan->algo;
	chan->adapter.dev.parent	= dev;
	chan->adapter.dev.parent	= dev;
	chan->algo.setsda		= tdfxfb_i2c_setsda;
	chan->algo.setsda		= tdfxfb_i2c_setsda;