V4L/DVB (12793): tm6000: On some kernels, eeprom reading were generating a bug
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 4 Sep 2007 00:24:52 +0000 (21:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:39:40 +0000 (00:39 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-i2c.c

index e9e63df186fca52150cd7d9d21e476a09416734d..48473bdabb7612c17ff128dbeee4f0e27ba96880 100644 (file)
@@ -333,12 +333,6 @@ static int attach_inform(struct i2c_client *client)
                client->driver->driver.name, client->addr, client->name);
 
        switch (client->addr<<1) {
-       case 0xa0:
-               tm6000_i2c_eeprom(dev, eedata, sizeof(eedata)-1);
-               eedata[sizeof(eedata)]='\0';
-
-               printk("Board string ID = %s\n",eedata);
-               return 0;
        case 0xb0:
                request_module("tvaudio");
                return 0;