提交 6284feaf 编写于 作者: T Thierry MERLE 提交者: Mauro Carvalho Chehab

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: NDwaine Garden <DwaineGarden@rogers.com>
Signed-off-by: NThierry MERLE <thierry.merle@free.fr>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 bf8b20e1
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册