diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/common/tuners/xc5000.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/common/tuners/xc5000.c b/drivers/media/common/tuners/xc5000.c index 98654dbeafa4..ef4bdf2315f1 100644 --- a/drivers/media/common/tuners/xc5000.c +++ b/drivers/media/common/tuners/xc5000.c | |||
@@ -739,10 +739,10 @@ static int xc5000_set_analog_params(struct dvb_frontend *fe, | |||
739 | dprintk(1, "%s() frequency=%d (in units of 62.5khz)\n", | 739 | dprintk(1, "%s() frequency=%d (in units of 62.5khz)\n", |
740 | __func__, params->frequency); | 740 | __func__, params->frequency); |
741 | 741 | ||
742 | priv->rf_mode = params->mode;// XC_RF_MODE_CABLE; /* Fix me: it could be air. */ | 742 | /* Fix me: it could be air. */ |
743 | if(params->mode > XC_RF_MODE_CABLE) | 743 | priv->rf_mode = params->mode; |
744 | priv->rf_mode = XC_RF_MODE_CABLE; | 744 | if (params->mode > XC_RF_MODE_CABLE) |
745 | 745 | priv->rf_mode = XC_RF_MODE_CABLE; | |
746 | 746 | ||
747 | /* params->frequency is in units of 62.5khz */ | 747 | /* params->frequency is in units of 62.5khz */ |
748 | priv->freq_hz = params->frequency * 62500; | 748 | priv->freq_hz = params->frequency * 62500; |