Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138148
b: refs/heads/master
c: 1fab14e
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 7d5caf1 commit 8f5d209
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0356baad85d59f18d4e64adec91459909ff71f20
refs/heads/master: 1fab14ed1acf791e990138c4acdaf4520962f2d5
8 changes: 4 additions & 4 deletions trunk/drivers/media/common/tuners/xc5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,10 +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 = 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;

/* Fix me: it could be air. */
priv->rf_mode = params->mode;
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 8f5d209

Please sign in to comment.