aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 150c72bb6e48..8551998dbaec 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)
302 302
303 dprintk("address %x", client->addr << 1); 303 dprintk("address %x", client->addr << 1);
304 switch (client->addr << 1) { 304 switch (client->addr << 1) {
305 case 0x68: 305 case 0x86:
306 em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf); 306 em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf);
307 break; 307 break;
308 case 0x4a: 308 case 0x4a:
309 dprintk1("attach_inform: saa7113 detected.\n"); 309 dprintk1("attach_inform: saa7113 detected.\n");
310 break; 310 break;
311 case 0xa0: 311 case 0xa0:
312 dprintk1("attach_inform: eeprom detected.\n"); 312 dprintk1("attach_inform: eeprom detected.\n");
313 break; 313 break;
314 case 0x80: 314 case 0x80:
315 case 0x88: 315 case 0x88:
316 dprintk1("attach_inform: msp34xx detected.\n"); 316 dprintk1("attach_inform: msp34xx detected.\n");
317 break; 317 break;
318 case 0xb8: 318 case 0xb8:
319 case 0xba: 319 case 0xba:
320 dprintk1("attach_inform: tvp5150 detected.\n"); 320 dprintk1("attach_inform: tvp5150 detected.\n");
321 break; 321 break;
322 default: 322 default:
323 dev->tuner_addr = client->addr; 323 dev->tuner_addr = client->addr;
324 em2820_set_tuner(-1, client); 324 em2820_set_tuner(-1, client);
325 } 325 }
326 326
327 return 0; 327 return 0;
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index 3581fc4c874d..7e4114ea15f9 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)
225 225
226 /* configure tda9887 */ 226 /* configure tda9887 */
227 227
228 em2820_i2c_call_clients(dev, TDA9887_SET_CONFIG, &dev->tda9887_conf);
229 228
230/* em2820_i2c_call_clients(dev,VIDIOC_S_STD,&dev->tvnorm->id); */ 229/* em2820_i2c_call_clients(dev,VIDIOC_S_STD,&dev->tvnorm->id); */
231} 230}