diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-13 19:15:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 17:55:55 -0300 |
commit | 51b6d717fb8e261e9705d66351f425561f114d4b (patch) | |
tree | 1ab5e396af54f713e21e187dc8423a1db298be90 | |
parent | bca3ba7904426bb94ee1a91e6e88831483fb5d53 (diff) | |
download | kernel_goldelico_gta04-51b6d717fb8e261e9705d66351f425561f114d4b.zip kernel_goldelico_gta04-51b6d717fb8e261e9705d66351f425561f114d4b.tar.gz kernel_goldelico_gta04-51b6d717fb8e261e9705d66351f425561f114d4b.tar.bz2 |
[media] tm6000: remove a check for NO_PCM_LOCK
This was likely used by some test. There's no sense on keeping it
upstream.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/staging/tm6000/tm6000-alsa.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/tm6000/tm6000-alsa.c b/drivers/staging/tm6000/tm6000-alsa.c index 2b96047..a588f29 100644 --- a/drivers/staging/tm6000/tm6000-alsa.c +++ b/drivers/staging/tm6000/tm6000-alsa.c @@ -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) @@ -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); |