lkml.org 
[lkml]   [2011]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 12/19] Staging: cx25821: Fix long lines in cx25821-audio-upstream.h
    Date
    Fix long lines in cx25821-audio-upstream.h

    Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
    ---
    drivers/staging/cx25821/cx25821-audio-upstream.h | 9 +++++++--
    1 files changed, 7 insertions(+), 2 deletions(-)

    diff --git a/drivers/staging/cx25821/cx25821-audio-upstream.h b/drivers/staging/cx25821/cx25821-audio-upstream.h
    index 668a4f1..af2ae7c 100644
    --- a/drivers/staging/cx25821/cx25821-audio-upstream.h
    +++ b/drivers/staging/cx25821/cx25821-audio-upstream.h
    @@ -46,11 +46,16 @@
    #define USE_RISC_NOOP_AUDIO 1

    #ifdef USE_RISC_NOOP_AUDIO
    -#define AUDIO_RISC_DMA_BUF_SIZE (LINES_PER_AUDIO_BUFFER*RISC_READ_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE + NUM_NO_OPS*DWORD_SIZE + RISC_JUMP_INSTRUCTION_SIZE)
    +#define AUDIO_RISC_DMA_BUF_SIZE \
    + (LINES_PER_AUDIO_BUFFER * RISC_READ_INSTRUCTION_SIZE + \
    + RISC_WRITECR_INSTRUCTION_SIZE + NUM_NO_OPS * DWORD_SIZE + \
    + RISC_JUMP_INSTRUCTION_SIZE)
    #endif

    #ifndef USE_RISC_NOOP_AUDIO
    -#define AUDIO_RISC_DMA_BUF_SIZE (LINES_PER_AUDIO_BUFFER*RISC_READ_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE + RISC_JUMP_INSTRUCTION_SIZE)
    +#define AUDIO_RISC_DMA_BUF_SIZE \
    + (LINES_PER_AUDIO_BUFFER * RISC_READ_INSTRUCTION_SIZE + \
    + RISC_WRITECR_INSTRUCTION_SIZE + RISC_JUMP_INSTRUCTION_SIZE)
    #endif

    static int _line_size;
    --
    1.7.0.4


    \
     
     \ /
      Last update: 2011-09-02 06:01    [W:0.020 / U:1.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site