[media] usbvision: Drop broken 10-bit I2C address support
authorJean Delvare <khali@linux-fr.org>
Mon, 7 Nov 2011 08:24:49 +0000 (05:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 Nov 2011 13:38:10 +0000 (11:38 -0200)
commit819cd82b0a994d9d83dc1d1ced1088e71d702d4c
tree3035a7d8c8ae3b9236482cd11d68620c7806d8d9
parentfdb5a9111ef77d537efb86e90e8073ebfd0b553e
[media] usbvision: Drop broken 10-bit I2C address support

The support for 10-bit I2C addresses in usbvision seems plain broken
to me. I had already noticed that back in February 2007 [1]. The code
was not fixed since then, so I take it that it's not actually needed.
And as a matter of fact I don't know of any 10-bit addressed I2C
tuner, encode, decoder or the like.

So let's simply get rid of the broken and useless code.

I'm also adding I2C_FUNC_I2C, as the driver and hardware support plain
I2C messaging.

[1] http://marc.info/?l=linux-i2c&m=117499415208244&w=2

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/usbvision/usbvision-i2c.c