OSDN Git Service

[media] cx231xx: fix bad indenting
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 29 Apr 2015 13:00:39 +0000 (10:00 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 09:06:49 +0000 (06:06 -0300)
drivers/media/usb/cx231xx/cx231xx-avcore.c:1598 cx231xx_set_DIF_bandpass() warn: inconsistent indenting
drivers/media/usb/cx231xx/cx231xx-core.c:656 cx231xx_demod_reset() warn: inconsistent indenting
drivers/media/usb/cx231xx/cx231xx-core.c:659 cx231xx_demod_reset() warn: inconsistent indenting
drivers/media/usb/cx231xx/cx231xx-core.c:664 cx231xx_demod_reset() warn: inconsistent indenting
drivers/media/usb/cx231xx/cx231xx-core.c:669 cx231xx_demod_reset() warn: inconsistent indenting
drivers/media/usb/cx231xx/cx231xx-core.c:673 cx231xx_demod_reset() warn: inconsistent indenting
drivers/media/usb/cx231xx/cx231xx-417.c:1164 cx231xx_initialize_codec() warn: inconsistent indenting

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/cx231xx/cx231xx-417.c
drivers/media/usb/cx231xx/cx231xx-avcore.c
drivers/media/usb/cx231xx/cx231xx-core.c

index 983ea83..3096e29 100644 (file)
@@ -1160,9 +1160,9 @@ static int cx231xx_initialize_codec(struct cx231xx *dev)
        }
 
        cx231xx_enable656(dev);
-                       /* stop mpeg capture */
-                       cx231xx_api_cmd(dev, CX2341X_ENC_STOP_CAPTURE,
-                                3, 0, 1, 3, 4);
+
+       /* stop mpeg capture */
+       cx231xx_api_cmd(dev, CX2341X_ENC_STOP_CAPTURE, 3, 0, 1, 3, 4);
 
        cx231xx_codec_settings(dev);
        msleep(60);
index 39e8879..4919137 100644 (file)
@@ -1595,31 +1595,31 @@ void cx231xx_set_DIF_bandpass(struct cx231xx *dev, u32 if_freq,
                /*pll_freq_word = 0x3463497;*/
                vid_blk_write_word(dev, DIF_PLL_FREQ_WORD,  pll_freq_word);
 
-       if (spectral_invert) {
-               if_freq -= 400000;
-               /* Enable Spectral Invert*/
-               vid_blk_read_word(dev, DIF_MISC_CTRL,
-                                       &dif_misc_ctrl_value);
-               dif_misc_ctrl_value = dif_misc_ctrl_value | 0x00200000;
-               vid_blk_write_word(dev, DIF_MISC_CTRL,
-                                       dif_misc_ctrl_value);
-       } else {
-               if_freq += 400000;
-               /* Disable Spectral Invert*/
-               vid_blk_read_word(dev, DIF_MISC_CTRL,
-                                       &dif_misc_ctrl_value);
-               dif_misc_ctrl_value = dif_misc_ctrl_value & 0xFFDFFFFF;
-               vid_blk_write_word(dev, DIF_MISC_CTRL,
-                                       dif_misc_ctrl_value);
-       }
+               if (spectral_invert) {
+                       if_freq -= 400000;
+                       /* Enable Spectral Invert*/
+                       vid_blk_read_word(dev, DIF_MISC_CTRL,
+                                         &dif_misc_ctrl_value);
+                       dif_misc_ctrl_value = dif_misc_ctrl_value | 0x00200000;
+                       vid_blk_write_word(dev, DIF_MISC_CTRL,
+                                         dif_misc_ctrl_value);
+               } else {
+                       if_freq += 400000;
+                       /* Disable Spectral Invert*/
+                       vid_blk_read_word(dev, DIF_MISC_CTRL,
+                                         &dif_misc_ctrl_value);
+                       dif_misc_ctrl_value = dif_misc_ctrl_value & 0xFFDFFFFF;
+                       vid_blk_write_word(dev, DIF_MISC_CTRL,
+                                         dif_misc_ctrl_value);
+               }
 
-       if_freq = (if_freq/100000)*100000;
+               if_freq = (if_freq / 100000) * 100000;
 
-       if (if_freq < 3000000)
-               if_freq = 3000000;
+               if (if_freq < 3000000)
+                       if_freq = 3000000;
 
-       if (if_freq > 16000000)
-               if_freq = 16000000;
+               if (if_freq > 16000000)
+                       if_freq = 16000000;
        }
 
        dev_dbg(dev->dev, "Enter IF=%zu\n", ARRAY_SIZE(Dif_set_array));
index e42bde0..a2fd49b 100644 (file)
@@ -653,22 +653,20 @@ int cx231xx_demod_reset(struct cx231xx *dev)
 
        cx231xx_coredbg("Enter cx231xx_demod_reset()\n");
 
-               value[1] = (u8) 0x3;
-               status = cx231xx_write_ctrl_reg(dev, VRT_SET_REGISTER,
-                                               PWR_CTL_EN, value, 4);
-                       msleep(10);
-
-               value[1] = (u8) 0x0;
-               status = cx231xx_write_ctrl_reg(dev, VRT_SET_REGISTER,
-                                               PWR_CTL_EN, value, 4);
-                       msleep(10);
-
-               value[1] = (u8) 0x3;
-               status = cx231xx_write_ctrl_reg(dev, VRT_SET_REGISTER,
-                                               PWR_CTL_EN, value, 4);
-                       msleep(10);
-
-
+       value[1] = (u8) 0x3;
+       status = cx231xx_write_ctrl_reg(dev, VRT_SET_REGISTER,
+                                       PWR_CTL_EN, value, 4);
+       msleep(10);
+
+       value[1] = (u8) 0x0;
+       status = cx231xx_write_ctrl_reg(dev, VRT_SET_REGISTER,
+                                       PWR_CTL_EN, value, 4);
+       msleep(10);
+
+       value[1] = (u8) 0x3;
+       status = cx231xx_write_ctrl_reg(dev, VRT_SET_REGISTER,
+                                       PWR_CTL_EN, value, 4);
+       msleep(10);
 
        status = cx231xx_read_ctrl_reg(dev, VRT_GET_REGISTER, PWR_CTL_EN,
                                 value, 4);