]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
[media] cx25821-audio.h: Fix multiline defines
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>
Sat, 22 Oct 2011 04:43:29 +0000 (01:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 20:49:25 +0000 (18:49 -0200)
Change column of line continuation character ('\') and fix indent of
multiline defines.
Also line up remaining constant defines.

Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25821/cx25821-audio.h

index 57bdcedee857c4d801bad67acb35b996b6a6fe01..1fc2d24f5110ac400e80f94ec5112ba4f0bc42c7 100644 (file)
  * Space is also added for the 4 no-op instructions added on the end.
  */
 #ifndef USE_RISC_NOOP
-#define MAX_BUFFER_PROGRAM_SIZE     \
-       (2 * LINES_PER_BUFFER * RISC_WRITE_INSTRUCTION_SIZE + \
-       RISC_WRITECR_INSTRUCTION_SIZE * 4)
+#define MAX_BUFFER_PROGRAM_SIZE                                                \
+       (2 * LINES_PER_BUFFER * RISC_WRITE_INSTRUCTION_SIZE +           \
+        RISC_WRITECR_INSTRUCTION_SIZE * 4)
 #endif
 
 /* MAE 12 July 2005 Try to use NOOP RISC instruction instead */
 #ifdef USE_RISC_NOOP
-#define MAX_BUFFER_PROGRAM_SIZE     \
-       (2 * LINES_PER_BUFFER * RISC_WRITE_INSTRUCTION_SIZE + \
-       RISC_NOOP_INSTRUCTION_SIZE * 4)
+#define MAX_BUFFER_PROGRAM_SIZE                                                \
+       (2 * LINES_PER_BUFFER * RISC_WRITE_INSTRUCTION_SIZE +           \
+        RISC_NOOP_INSTRUCTION_SIZE * 4)
 #endif
 
 /* Sizes of various instructions in bytes.  Used when adding instructions. */
-#define RISC_WRITE_INSTRUCTION_SIZE 12
-#define RISC_JUMP_INSTRUCTION_SIZE  12
-#define RISC_SKIP_INSTRUCTION_SIZE  4
-#define RISC_SYNC_INSTRUCTION_SIZE  4
-#define RISC_WRITECR_INSTRUCTION_SIZE  16
-#define RISC_NOOP_INSTRUCTION_SIZE 4
-
-#define MAX_AUDIO_DMA_BUFFER_SIZE      \
-(MAX_BUFFER_PROGRAM_SIZE * NUMBER_OF_PROGRAMS + RISC_SYNC_INSTRUCTION_SIZE)
+#define RISC_WRITE_INSTRUCTION_SIZE    12
+#define RISC_JUMP_INSTRUCTION_SIZE     12
+#define RISC_SKIP_INSTRUCTION_SIZE     4
+#define RISC_SYNC_INSTRUCTION_SIZE     4
+#define RISC_WRITECR_INSTRUCTION_SIZE  16
+#define RISC_NOOP_INSTRUCTION_SIZE     4
+
+#define MAX_AUDIO_DMA_BUFFER_SIZE                                      \
+       (MAX_BUFFER_PROGRAM_SIZE * NUMBER_OF_PROGRAMS +                 \
+        RISC_SYNC_INSTRUCTION_SIZE)
 
 #endif