aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision
diff options
context:
space:
mode:
authorThierry MERLE <thierry.merle@free.fr>2007-04-16 16:47:08 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:45:41 -0400
commit6284feafcf589103f4a85d98d305e7a9d98970d3 (patch)
tree139c4c67e5573426759349b7b42d0341250f538b /drivers/media/video/usbvision
parentbf8b20e190f9878978117e39e9a4e493a2e9d6bd (diff)
V4L/DVB (5529): Usbvision: remove not needed TUNER_SET_TYPE_ADDR call
usbvision_i2c: remove TUNER_SET_TYPE_ADDR call in attach_inform since it is done by tuner_core. Acked-by: Dwaine Garden <DwaineGarden@rogers.com> Signed-off-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvision')
-rw-r--r--drivers/media/video/usbvision/usbvision-i2c.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/media/video/usbvision/usbvision-i2c.c b/drivers/media/video/usbvision/usbvision-i2c.c
index 9bf263b52c39..025be555194f 100644
--- a/drivers/media/video/usbvision/usbvision-i2c.c
+++ b/drivers/media/video/usbvision/usbvision-i2c.c
@@ -301,17 +301,8 @@ static int attach_inform(struct i2c_client *client)
301 case 0x43 << 1: 301 case 0x43 << 1:
302 case 0x4a << 1: 302 case 0x4a << 1:
303 case 0x4b << 1: 303 case 0x4b << 1:
304 { 304 PDEBUG(DBG_I2C,"attach_inform: tda9887 detected.");
305 struct tuner_setup tun_setup;
306
307 tun_setup.mode_mask = T_ANALOG_TV | T_RADIO;
308 tun_setup.type = TUNER_TDA9887;
309 tun_setup.addr = client->addr;
310
311 call_i2c_clients(usbvision, TUNER_SET_TYPE_ADDR, &tun_setup);
312
313 break; 305 break;
314 }
315 case 0x42: 306 case 0x42:
316 PDEBUG(DBG_I2C,"attach_inform: saa7114 detected."); 307 PDEBUG(DBG_I2C,"attach_inform: saa7114 detected.");
317 break; 308 break;