summaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/xc5000.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-03 18:35:41 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 17:43:18 +0200
commit1fab14ed1acf791e990138c4acdaf4520962f2d5 (patch)
tree05f202e46a9323245ec22de1158b1851f8b8762c /drivers/media/common/tuners/xc5000.c
parentV4L/DVB (10950): xc5000: prepare it to be used by cx231xx module (diff)
downloadlinux-1fab14ed1acf791e990138c4acdaf4520962f2d5.tar.xz
linux-1fab14ed1acf791e990138c4acdaf4520962f2d5.zip
V4L/DVB (10951): xc5000: Fix CodingStyle errors introduced by the last patch
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common/tuners/xc5000.c')
-rw-r--r--drivers/media/common/tuners/xc5000.c8
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,
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;