Skip to content

Commit

Permalink
V4L/DVB (10950): xc5000: prepare it to be used by cx231xx module
Browse files Browse the repository at this point in the history
Signed-off-by: Srinivasa Deevi <srinivasa.deevi@conexant.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Sri Deevi authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 70101a2 commit 0356baa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion drivers/media/common/tuners/xc5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
__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 */
priv->freq_hz = params->frequency * 62500;
Expand Down

0 comments on commit 0356baa

Please sign in to comment.