aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/lgdt3302.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/lgdt3302.c')
-rw-r--r--drivers/media/dvb/frontends/lgdt3302.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/lgdt3302.c b/drivers/media/dvb/frontends/lgdt3302.c
index 136563606fb1..c803c05002ad 100644
--- a/drivers/media/dvb/frontends/lgdt3302.c
+++ b/drivers/media/dvb/frontends/lgdt3302.c
@@ -214,6 +214,10 @@ static int lgdt3302_set_parameters(struct dvb_frontend* fe,
214 214
215 /* Select VSB mode and serial MPEG interface */ 215 /* Select VSB mode and serial MPEG interface */
216 top_ctrl_cfg[1] = 0x07; 216 top_ctrl_cfg[1] = 0x07;
217
218 /* Select ANT connector if supported by card */
219 if (state->config->pll_rf_set)
220 state->config->pll_rf_set(fe, 1);
217 break; 221 break;
218 222
219 case QAM_64: 223 case QAM_64:
@@ -221,6 +225,10 @@ static int lgdt3302_set_parameters(struct dvb_frontend* fe,
221 225
222 /* Select QAM_64 mode and serial MPEG interface */ 226 /* Select QAM_64 mode and serial MPEG interface */
223 top_ctrl_cfg[1] = 0x04; 227 top_ctrl_cfg[1] = 0x04;
228
229 /* Select CABLE connector if supported by card */
230 if (state->config->pll_rf_set)
231 state->config->pll_rf_set(fe, 0);
224 break; 232 break;
225 233
226 case QAM_256: 234 case QAM_256:
@@ -228,6 +236,10 @@ static int lgdt3302_set_parameters(struct dvb_frontend* fe,
228 236
229 /* Select QAM_256 mode and serial MPEG interface */ 237 /* Select QAM_256 mode and serial MPEG interface */
230 top_ctrl_cfg[1] = 0x05; 238 top_ctrl_cfg[1] = 0x05;
239
240 /* Select CABLE connector if supported by card */
241 if (state->config->pll_rf_set)
242 state->config->pll_rf_set(fe, 0);
231 break; 243 break;
232 default: 244 default:
233 printk(KERN_WARNING "lgdt3302: %s: Modulation type(%d) UNSUPPORTED\n", __FUNCTION__, param->u.vsb.modulation); 245 printk(KERN_WARNING "lgdt3302: %s: Modulation type(%d) UNSUPPORTED\n", __FUNCTION__, param->u.vsb.modulation);