mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 06:18:45 -04:00
V4L/DVB (12793): tm6000: On some kernels, eeprom reading were generating a bug
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
dc6a02aa35
commit
88894cba79
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user