Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261538
b: refs/heads/master
c: 51b6d71
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 8989d4d commit f3cf25c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bca3ba7904426bb94ee1a91e6e88831483fb5d53
refs/heads/master: 51b6d717fb8e261e9705d66351f425561f114d4b
4 changes: 0 additions & 4 deletions trunk/drivers/staging/tm6000/tm6000-alsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,7 @@ static int tm6000_fillbuf(struct tm6000_core *core, char *buf, int size)
memcpy(runtime->dma_area + buf_pos * stride, buf,
length * stride);

#ifndef NO_PCM_LOCK
snd_pcm_stream_lock(substream);
#endif

chip->buf_pos += length;
if (chip->buf_pos >= runtime->buffer_size)
Expand All @@ -268,9 +266,7 @@ static int tm6000_fillbuf(struct tm6000_core *core, char *buf, int size)
period_elapsed = 1;
}

#ifndef NO_PCM_LOCK
snd_pcm_stream_unlock(substream);
#endif

if (period_elapsed)
snd_pcm_period_elapsed(substream);
Expand Down

0 comments on commit f3cf25c

Please sign in to comment.