summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2006-01-09 18:25:25 +0100
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 18:25:25 +0100
commite0b2d7a89bb250fb0c9068c4481c9fd26c3fb227 (patch)
tree362ccab98f0cef0d5ee2bf99c2f7ff0bdb474b8c
parentV4L/DVB (3159): Replaces MAX()/MIN() by kernel.h max()/min() macros (diff)
downloadlinux-e0b2d7a89bb250fb0c9068c4481c9fd26c3fb227.tar.xz
linux-e0b2d7a89bb250fb0c9068c4481c9fd26c3fb227.zip
V4L/DVB (3160): Updates to the tveeprom eeprom checking
Updates to the tveeprom eeprom checking Signed-of-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r--drivers/media/video/tveeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tveeprom.c b/drivers/media/video/tveeprom.c
index a26ce7515dfa..9bb367863a6f 100644
--- a/drivers/media/video/tveeprom.c
+++ b/drivers/media/video/tveeprom.c
@@ -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))