V4L/DVB (5529): Usbvision: remove not needed TUNER_SET_TYPE_ADDR call
authorThierry MERLE <thierry.merle@free.fr>
Mon, 16 Apr 2007 20:47:08 +0000 (17:47 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:45:41 +0000 (15:45 -0300)
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>
drivers/media/video/usbvision/usbvision-i2c.c

index 9bf263b52c396d1f168cf5dd71685450779e45a5..025be555194f4eac8dc6f174325abfb3c08693b4 100644 (file)
@@ -301,17 +301,8 @@ static int attach_inform(struct i2c_client *client)
                case 0x43 << 1:
                case 0x4a << 1:
                case 0x4b << 1:
-               {
-                       struct tuner_setup tun_setup;
-
-                       tun_setup.mode_mask = T_ANALOG_TV | T_RADIO;
-                       tun_setup.type = TUNER_TDA9887;
-                       tun_setup.addr = client->addr;
-
-                       call_i2c_clients(usbvision, TUNER_SET_TYPE_ADDR, &tun_setup);
-
+                       PDEBUG(DBG_I2C,"attach_inform: tda9887 detected.");
                        break;
-               }
                case 0x42:
                        PDEBUG(DBG_I2C,"attach_inform: saa7114 detected.");
                        break;