Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Jean Delvare <khali@linux-fr.org>
Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>

-2
-1
drivers/i2c/busses/i2c-voodoo3.c
··· 163 163 164 164 static struct i2c_adapter voodoo3_i2c_adapter = { 165 165 .owner = THIS_MODULE, 166 - .class = I2C_CLASS_TV_ANALOG, 167 166 .name = "I2C Voodoo3/Banshee adapter", 168 167 .algo_data = &voo_i2c_bit_data, 169 168 };
-1
drivers/video/tdfxfb.c
··· 1315 1315 1316 1316 strlcpy(chan->adapter.name, name, sizeof(chan->adapter.name)); 1317 1317 chan->adapter.owner = THIS_MODULE; 1318 - chan->adapter.class = I2C_CLASS_TV_ANALOG; 1319 1318 chan->adapter.algo_data = &chan->algo; 1320 1319 chan->adapter.dev.parent = dev; 1321 1320 chan->algo.setsda = tdfxfb_i2c_setsda;