Commit 0356baad authored by Sri Deevi's avatar Sri Deevi Committed by Mauro Carvalho Chehab

V4L/DVB (10950): xc5000: prepare it to be used by cx231xx module

Signed-off-by: default avatarSrinivasa Deevi <srinivasa.deevi@conexant.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 70101a27
...@@ -739,7 +739,10 @@ static int xc5000_set_analog_params(struct dvb_frontend *fe, ...@@ -739,7 +739,10 @@ static int xc5000_set_analog_params(struct dvb_frontend *fe,
dprintk(1, "%s() frequency=%d (in units of 62.5khz)\n", dprintk(1, "%s() frequency=%d (in units of 62.5khz)\n",
__func__, params->frequency); __func__, params->frequency);
priv->rf_mode = XC_RF_MODE_CABLE; /* Fix me: it could be air. */ priv->rf_mode = params->mode;// XC_RF_MODE_CABLE; /* Fix me: it could be air. */
if(params->mode > XC_RF_MODE_CABLE)
priv->rf_mode = XC_RF_MODE_CABLE;
/* params->frequency is in units of 62.5khz */ /* params->frequency is in units of 62.5khz */
priv->freq_hz = params->frequency * 62500; priv->freq_hz = params->frequency * 62500;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment