V4L/DVB (10951): xc5000: Fix CodingStyle errors introduced by the last patch
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 3 Mar 2009 17:35:41 +0000 (14:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:18 +0000 (12:43 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/xc5000.c

index 98654db..ef4bdf2 100644 (file)
@@ -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;