diff options
author | Abylay Ospan <aospan@netup.ru> | 2011-01-02 07:15:00 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 03:54:12 -0400 |
commit | 4174ebf5ebd7a09589ff8ff3bc3246ea0a9bd356 (patch) | |
tree | d06d69ce1ba6c7a4dce99a006859e5e1a112aa9e /drivers/media/video/cx23885/cx23885-dvb.c | |
parent | 8af81ddb12cf34e2f6eab7e130f1e55e1911ab8f (diff) |
[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: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-dvb.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-dvb.c | 5 |
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) |