mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
f4a3bc82ed
commit
e0b2d7a89b
|
@ -387,7 +387,7 @@ void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
|
||||||
if ((eeprom_data[0] == 0x1a) && (eeprom_data[1] == 0xeb) &&
|
if ((eeprom_data[0] == 0x1a) && (eeprom_data[1] == 0xeb) &&
|
||||||
(eeprom_data[2] == 0x67) && (eeprom_data[3] == 0x95))
|
(eeprom_data[2] == 0x67) && (eeprom_data[3] == 0x95))
|
||||||
start=0xa0; /* Generic em28xx offset */
|
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[1] == 0x00) &&
|
||||||
(eeprom_data[2] == 0x00) &&
|
(eeprom_data[2] == 0x00) &&
|
||||||
(eeprom_data[8] == 0x84))
|
(eeprom_data[8] == 0x84))
|
||||||
|
|
Loading…
Reference in New Issue