diff options
Diffstat (limited to 'drivers/staging/line6/pcm.h')
-rw-r--r-- | drivers/staging/line6/pcm.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/staging/line6/pcm.h b/drivers/staging/line6/pcm.h index 3a50083cb30..77055b3724a 100644 --- a/drivers/staging/line6/pcm.h +++ b/drivers/staging/line6/pcm.h @@ -45,7 +45,8 @@ /* Get substream from Line6 PCM data structure */ -#define get_substream(line6pcm, stream) (line6pcm->pcm->streams[stream].substream) +#define get_substream(line6pcm, stream) \ + (line6pcm->pcm->streams[stream].substream) /* PCM mode bits and masks. @@ -312,13 +313,13 @@ extern void line6_pcm_disconnect(struct snd_line6_pcm *line6pcm); extern int line6_pcm_start(struct snd_line6_pcm *line6pcm, int channels); extern int line6_pcm_stop(struct snd_line6_pcm *line6pcm, int channels); -#define PRINT_FRAME_DIFF(op) { \ - static int diff_prev = 1000; \ +#define PRINT_FRAME_DIFF(op) { \ + static int diff_prev = 1000; \ int diff = line6pcm->last_frame_out - line6pcm->last_frame_in; \ - if((diff != diff_prev) && (abs(diff) < 100)) { \ - printk("%s frame diff = %d\n", op, diff); \ - diff_prev = diff; \ - } \ - } + if ((diff != diff_prev) && (abs(diff) < 100)) { \ + printk(KERN_INFO "%s frame diff = %d\n", op, diff); \ + diff_prev = diff; \ + } \ +} #endif |