]> err.no Git - linux-2.6/commitdiff
V4L/DVB (3160): Updates to the tveeprom eeprom checking
authorSteven Toth <stoth@hauppauge.com>
Mon, 9 Jan 2006 17:25:25 +0000 (15:25 -0200)
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>
Mon, 9 Jan 2006 17:25:25 +0000 (15:25 -0200)
Updates to the tveeprom eeprom checking

Signed-of-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
drivers/media/video/tveeprom.c

index a26ce7515dfaa3a063e297b6e546b8fd8419e5f7..9bb367863a6f4a03199487cc26b1c7d13998eaaa 100644 (file)
@@ -387,7 +387,7 @@ void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
        if ((eeprom_data[0] == 0x1a) && (eeprom_data[1] == 0xeb) &&
                        (eeprom_data[2] == 0x67) && (eeprom_data[3] == 0x95))
                start=0xa0; /* Generic em28xx offset */
-       else if (((eeprom_data[0] & 0xf0) == 0x10) &&
+       else if (((eeprom_data[0] & 0xe1) == 0x01) &&
                                        (eeprom_data[1] == 0x00) &&
                                        (eeprom_data[2] == 0x00) &&
                                        (eeprom_data[8] == 0x84))