Commit a9ae9fb1 authored by Markus Rechberger's avatar Markus Rechberger Committed by Linus Torvalds

[PATCH] v4l: 761: fixed registry value in em2820

- Fixed registry value in em2820-i2c.c which corrects a tuner setting (also
  removed that call from em2820-video.c)
Signed-off-by: default avatarMarkus Rechberger <mrechberger@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 18f47d10
...@@ -302,26 +302,26 @@ static int attach_inform(struct i2c_client *client) ...@@ -302,26 +302,26 @@ static int attach_inform(struct i2c_client *client)
dprintk("address %x", client->addr << 1); dprintk("address %x", client->addr << 1);
switch (client->addr << 1) { switch (client->addr << 1) {
case 0x68: case 0x86:
em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf); em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf);
break; break;
case 0x4a: case 0x4a:
dprintk1("attach_inform: saa7113 detected.\n"); dprintk1("attach_inform: saa7113 detected.\n");
break; break;
case 0xa0: case 0xa0:
dprintk1("attach_inform: eeprom detected.\n"); dprintk1("attach_inform: eeprom detected.\n");
break; break;
case 0x80: case 0x80:
case 0x88: case 0x88:
dprintk1("attach_inform: msp34xx detected.\n"); dprintk1("attach_inform: msp34xx detected.\n");
break; break;
case 0xb8: case 0xb8:
case 0xba: case 0xba:
dprintk1("attach_inform: tvp5150 detected.\n"); dprintk1("attach_inform: tvp5150 detected.\n");
break; break;
default: default:
dev->tuner_addr = client->addr; dev->tuner_addr = client->addr;
em2820_set_tuner(-1, client); em2820_set_tuner(-1, client);
} }
return 0; return 0;
......
...@@ -225,7 +225,6 @@ void em2820_config_i2c(struct em2820 *dev) ...@@ -225,7 +225,6 @@ void em2820_config_i2c(struct em2820 *dev)
/* configure tda9887 */ /* configure tda9887 */
em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf);
/* em2820_i2c_call_clients(dev,VIDIOC_S_STD,&dev->tvnorm->id); */ /* em2820_i2c_call_clients(dev,VIDIOC_S_STD,&dev->tvnorm->id); */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment