提交 4174ebf5 编写于 作者: A Abylay Ospan 提交者: Mauro Carvalho Chehab

[media] Force xc5000 firmware loading for NetUP Dual DVB-T/C CI RF card

Two xc5000 tuners connected to same i2c bus.
Experiments shows that situation when one tuner is not initialized
while other is tuned to channel causes TS errors.
Signed-off-by: NAbylay Ospan <aospan@netup.ru>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 8af81ddb
...@@ -1071,12 +1071,15 @@ static int dvb_register(struct cx23885_tsport *port) ...@@ -1071,12 +1071,15 @@ static int dvb_register(struct cx23885_tsport *port)
fe0->dvb.frontend = dvb_attach(stv0367ter_attach, fe0->dvb.frontend = dvb_attach(stv0367ter_attach,
&netup_stv0367_config[port->nr - 1], &netup_stv0367_config[port->nr - 1],
&i2c_bus->i2c_adap); &i2c_bus->i2c_adap);
if (fe0->dvb.frontend != NULL) if (fe0->dvb.frontend != NULL) {
if (NULL == dvb_attach(xc5000_attach, if (NULL == dvb_attach(xc5000_attach,
fe0->dvb.frontend, fe0->dvb.frontend,
&i2c_bus->i2c_adap, &i2c_bus->i2c_adap,
&netup_xc5000_config[port->nr - 1])) &netup_xc5000_config[port->nr - 1]))
goto frontend_detach; goto frontend_detach;
/* load xc5000 firmware */
fe0->dvb.frontend->ops.tuner_ops.init(fe0->dvb.frontend);
}
/* MFE frontend 2 */ /* MFE frontend 2 */
fe1 = videobuf_dvb_get_frontend(&port->frontends, 2); fe1 = videobuf_dvb_get_frontend(&port->frontends, 2);
if (fe1 == NULL) if (fe1 == NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册