[patch-mm 4/6] V4L/DVB (3160): Updates to the tveeprom eepromchecking

From: mchehab
Date: Tue Dec 13 2005 - 22:15:26 EST


From: Steven Toth <stoth@xxxxxxxxxxxxx>

Updates to the tveeprom eeprom checking

Signed-of-by: Steven Toth <stoth@xxxxxxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxx>

drivers/media/video/tveeprom.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- git.orig/drivers/media/video/tveeprom.c
+++ git/drivers/media/video/tveeprom.c
@@ -387,7 +387,7 @@ void tveeprom_hauppauge_analog(struct i2
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))

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/