* [PATCH] i2c: Do not probe for TV chips on Voodoo3 adapters
@ 2009-04-25 15:27 Jean Delvare
[not found] ` <20090425172708.0622f5b3-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2009-04-25 15:27 UTC (permalink / raw)
To: Linux I2C; +Cc: Krzysztof Helt
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-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
Cc: Krzysztof Helt <krzysztof.h1-5tc4TXWwyLM@public.gmane.org>
---
drivers/i2c/busses/i2c-voodoo3.c | 1 -
drivers/video/tdfxfb.c | 1 -
2 files changed, 2 deletions(-)
--- linux-2.6.30-rc3.orig/drivers/i2c/busses/i2c-voodoo3.c 2009-03-24 13:43:33.000000000 +0100
+++ linux-2.6.30-rc3/drivers/i2c/busses/i2c-voodoo3.c 2009-04-25 12:14:08.000000000 +0200
@@ -163,7 +163,6 @@ static struct i2c_algo_bit_data voo_i2c_
static struct i2c_adapter voodoo3_i2c_adapter = {
.owner = THIS_MODULE,
- .class = I2C_CLASS_TV_ANALOG,
.name = "I2C Voodoo3/Banshee adapter",
.algo_data = &voo_i2c_bit_data,
};
--- linux-2.6.30-rc3.orig/drivers/video/tdfxfb.c 2009-04-08 08:53:35.000000000 +0200
+++ linux-2.6.30-rc3/drivers/video/tdfxfb.c 2009-04-25 12:13:59.000000000 +0200
@@ -1315,7 +1315,6 @@ static int __devinit tdfxfb_setup_i2c_bu
strlcpy(chan->adapter.name, name, sizeof(chan->adapter.name));
chan->adapter.owner = THIS_MODULE;
- chan->adapter.class = I2C_CLASS_TV_ANALOG;
chan->adapter.algo_data = &chan->algo;
chan->adapter.dev.parent = dev;
chan->algo.setsda = tdfxfb_i2c_setsda;
--
Jean Delvare
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] i2c: Do not probe for TV chips on Voodoo3 adapters
[not found] ` <20090425172708.0622f5b3-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
@ 2009-04-26 15:25 ` Krzysztof Helt
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Helt @ 2009-04-26 15:25 UTC (permalink / raw)
To: Jean Delvare; +Cc: Linux I2C, Krzysztof Helt
On Sat, 25 Apr 2009 17:27:08 +0200
Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org> wrote:
> 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-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
> Cc: Krzysztof Helt <krzysztof.h1-5tc4TXWwyLM@public.gmane.org>
> ---
Acked-by: Krzysztof Helt <krzysztof.h1-5tc4TXWwyLM@public.gmane.org>
Wygraj lot balonem dla dwoch osob!
Wejdz >> http://link.interia.pl/f2141
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-26 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-25 15:27 [PATCH] i2c: Do not probe for TV chips on Voodoo3 adapters Jean Delvare
[not found] ` <20090425172708.0622f5b3-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2009-04-26 15:25 ` Krzysztof Helt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox