]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/tm6000/tm6000-alsa.c
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[~andy/linux] / drivers / staging / tm6000 / tm6000-alsa.c
index 018ff73ab71d70b93908c9d095f1c01707a111d3..bd5fa89af07c32814ea55f28c0075dad7747cdad 100644 (file)
@@ -254,7 +254,7 @@ static int tm6000_fillbuf(struct tm6000_core *core, char *buf, int size)
                memcpy(runtime->dma_area + buf_pos * stride, buf,
                        length * stride);
 
-       snd_pcm_stream_lock(substream);
+       snd_pcm_stream_lock(substream);
 
        chip->buf_pos += length;
        if (chip->buf_pos >= runtime->buffer_size)
@@ -266,7 +266,7 @@ static int tm6000_fillbuf(struct tm6000_core *core, char *buf, int size)
                period_elapsed = 1;
        }
 
-       snd_pcm_stream_unlock(substream);
+       snd_pcm_stream_unlock(substream);
 
        if (period_elapsed)
                snd_pcm_period_elapsed(substream);