aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885-dvb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index c0e665506750..3c315f94cc85 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -1071,12 +1071,15 @@ static int dvb_register(struct cx23885_tsport *port)
1071 fe0->dvb.frontend = dvb_attach(stv0367ter_attach, 1071 fe0->dvb.frontend = dvb_attach(stv0367ter_attach,
1072 &netup_stv0367_config[port->nr - 1], 1072 &netup_stv0367_config[port->nr - 1],
1073 &i2c_bus->i2c_adap); 1073 &i2c_bus->i2c_adap);
1074 if (fe0->dvb.frontend != NULL) 1074 if (fe0->dvb.frontend != NULL) {
1075 if (NULL == dvb_attach(xc5000_attach, 1075 if (NULL == dvb_attach(xc5000_attach,
1076 fe0->dvb.frontend, 1076 fe0->dvb.frontend,
1077 &i2c_bus->i2c_adap, 1077 &i2c_bus->i2c_adap,
1078 &netup_xc5000_config[port->nr - 1])) 1078 &netup_xc5000_config[port->nr - 1]))
1079 goto frontend_detach; 1079 goto frontend_detach;
1080 /* load xc5000 firmware */
1081 fe0->dvb.frontend->ops.tuner_ops.init(fe0->dvb.frontend);
1082 }
1080 /* MFE frontend 2 */ 1083 /* MFE frontend 2 */
1081 fe1 = videobuf_dvb_get_frontend(&port->frontends, 2); 1084 fe1 = videobuf_dvb_get_frontend(&port->frontends, 2);
1082 if (fe1 == NULL) 1085 if (fe1 == NULL)