staging: cxt1e1: Fix line over 80 characters.
authorGulsah Kose <gulsah.1004@gmail.com>
Sun, 9 Mar 2014 13:49:09 +0000 (15:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Mar 2014 17:38:29 +0000 (10:38 -0700)
Fix checkpatch.pl issues with line over 80
characters in comet.c

Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/comet.c

index 953d96a3de3861c76ca2422e61ffc7e7511a08f5..c27ac097c4e4e3bc6aa8867ad9907e3a71fc12b5 100644 (file)
@@ -29,8 +29,11 @@ extern int  cxt1e1_log_level;
 
 /* forward references */
 static void SetPwrLevel(struct s_comet_reg *comet);
-static void WrtRcvEqualizerTbl(ci_t *ci, struct s_comet_reg *comet, u_int32_t *table);
-static void WrtXmtWaveformTbl(ci_t *ci, struct s_comet_reg *comet, u_int8_t table[COMET_NUM_SAMPLES][COMET_NUM_UNITS]);
+static void WrtRcvEqualizerTbl(ci_t *ci, struct s_comet_reg *comet,
+                               u_int32_t *table);
+static void WrtXmtWaveformTbl(ci_t *ci, struct s_comet_reg *comet,
+                               u_int8_t table[COMET_NUM_SAMPLES]
+                               [COMET_NUM_UNITS]);
 
 
 static void *TWV_table[12] = {
@@ -50,6 +53,7 @@ lbo_tbl_lkup(int t1, int lbo) {
                if (t1)
                        /* default T1 waveform table */
                        lbo = CFG_LBO_LH0;
+
                else
                        /* default E1 waveform table */
                        lbo = CFG_LBO_E120;
@@ -58,8 +62,8 @@ lbo_tbl_lkup(int t1, int lbo) {
        return lbo - 1;
 }
 
-void init_comet(void *ci, struct s_comet_reg *comet, u_int32_t port_mode, int clockmaster,
-               u_int8_t moreParams)
+void init_comet(void *ci, struct s_comet_reg *comet, u_int32_t port_mode,
+               int clockmaster, u_int8_t moreParams)
 {
        u_int8_t isT1mode;
        /* T1 default */
@@ -146,7 +150,9 @@ void init_comet(void *ci, struct s_comet_reg *comet, u_int32_t port_mode, int cl
         /* t1RBOC enable(BOC:BitOriented Code) */
        pci_write_32((u_int32_t *) &comet->t1_rboc_ena, 0x00);
        if (isT1mode) {
-               /* IBCD cfg: aka Inband Code Detection ** loopback code length set to */
+               /* IBCD cfg: aka Inband Code Detection ** loopback code length
+                * set to
+                */
                /* 6 bit down, 5 bit up (assert) */
                pci_write_32((u_int32_t *) &comet->ibcd_cfg, 0x04);
                /* line loopback activate pattern */
@@ -286,7 +292,9 @@ void init_comet(void *ci, struct s_comet_reg *comet, u_int32_t port_mode, int cl
     /* 0x30: "BRIF cfg"; 0x20 is 'CMODE', 0x03 is (bit) rate */
     /* note "rate bits can only be set once after reset" */
        if (clockmaster) {
-               /* CMODE == clockMode, 0=clock master (so all 3 others should be slave) */
+               /* CMODE == clockMode, 0=clock master
+                * (so all 3 others should be slave)
+                */
                /* rate = 1.544 Mb/s */
                if (isT1mode)
                        /* Comet 0 Master Mode(CMODE=0) */
@@ -398,7 +406,8 @@ void init_comet(void *ci, struct s_comet_reg *comet, u_int32_t port_mode, int cl
 ** Returns:     Nothing
 */
 static void
-WrtXmtWaveform(ci_t *ci, struct s_comet_reg *comet, u_int32_t sample, u_int32_t unit, u_int8_t data)
+WrtXmtWaveform(ci_t *ci, struct s_comet_reg *comet, u_int32_t sample,
+               u_int32_t unit, u_int8_t data)
 {
        u_int8_t    WaveformAddr;
 
@@ -561,13 +570,17 @@ SetCometOps(struct s_comet_reg *comet)
 
        if (comet == mConfig.C4Func1Base + (COMET0_OFFSET >> 2)) {
                /* read the BRIF Configuration */
-               rd_value = (u_int8_t) pci_read_32((u_int32_t *) &comet->brif_cfg);
+               rd_value = (u_int8_t) pci_read_32((u_int32_t *)
+                               &comet->brif_cfg);
                rd_value &= ~0x20;
-               pci_write_32((u_int32_t *) &comet->brif_cfg, (u_int32_t) rd_value);
+               pci_write_32((u_int32_t *) &comet->brif_cfg,
+                               (u_int32_t) rd_value);
                /* read the BRIF Frame Pulse Configuration */
-               rd_value = (u_int8_t) pci_read_32((u_int32_t *) &comet->brif_fpcfg);
+               rd_value = (u_int8_t) pci_read_32((u_int32_t *)
+                               &comet->brif_fpcfg);
                rd_value &= ~0x20;
-               pci_write_32((u_int32_t *) &comet->brif_fpcfg, (u_int8_t) rd_value);
+               pci_write_32((u_int32_t *) &comet->brif_fpcfg,
+                               (u_int8_t) rd_value);
        } else {
        /* read the BRIF Configuration */
        rd_value = (u_int8_t) pci_read_32((u_int32_t *) &comet->brif_cfg);
This page took 0.030936 seconds and 5 git commands to generate.