aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/em28xx/em28xx-i2c.c40
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c1
2 files changed, 20 insertions, 21 deletions
diff --git a/drivers/media/video/em28xx/em28xx-i2c.c b/drivers/media/video/em28xx/em28xx-i2c.c
index 150c72bb6e4..8551998dbae 100644
--- a/drivers/media/video/em28xx/em28xx-i2c.c
+++ b/drivers/media/video/em28xx/em28xx-i2c.c
@@ -302,26 +302,26 @@ static int attach_inform(struct i2c_client *client)
dprintk("address %x", client->addr << 1);
switch (client->addr << 1) {
- case 0x68:
- em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf);
- break;
- case 0x4a:
- dprintk1("attach_inform: saa7113 detected.\n");
- break;
- case 0xa0:
- dprintk1("attach_inform: eeprom detected.\n");
- break;
- case 0x80:
- case 0x88:
- dprintk1("attach_inform: msp34xx detected.\n");
- break;
- case 0xb8:
- case 0xba:
- dprintk1("attach_inform: tvp5150 detected.\n");
- break;
- default:
- dev->tuner_addr = client->addr;
- em2820_set_tuner(-1, client);
+ case 0x86:
+ em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf);
+ break;
+ case 0x4a:
+ dprintk1("attach_inform: saa7113 detected.\n");
+ break;
+ case 0xa0:
+ dprintk1("attach_inform: eeprom detected.\n");
+ break;
+ case 0x80:
+ case 0x88:
+ dprintk1("attach_inform: msp34xx detected.\n");
+ break;
+ case 0xb8:
+ case 0xba:
+ dprintk1("attach_inform: tvp5150 detected.\n");
+ break;
+ default:
+ dev->tuner_addr = client->addr;
+ em2820_set_tuner(-1, client);
}
return 0;
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index 3581fc4c874..7e4114ea15f 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -225,7 +225,6 @@ void em2820_config_i2c(struct em2820 *dev)
/* configure tda9887 */
- em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf);
/* em2820_i2c_call_clients(dev,VIDIOC_S_STD,&dev->tvnorm->id); */
}