projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
688956f
)
[ALSA] Remove bogus check of mmap_count in snd_pcm_release()
author
Takashi Iwai
<tiwai@suse.de>
Wed, 7 Jun 2006 16:12:31 +0000
(18:12 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Thu, 22 Jun 2006 19:34:14 +0000
(21:34 +0200)
Removed a bogus check of mmap_count in snd_pcm_release().
This is no longer true for the shared streams.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c
patch
|
blob
|
history
diff --git
a/sound/core/pcm_native.c
b/sound/core/pcm_native.c
index 9e495244eee2198613b32c6edf05258b77c2d7af..439f047929e18e509961214878ffd36233d71371 100644
(file)
--- a/
sound/core/pcm_native.c
+++ b/
sound/core/pcm_native.c
@@
-2205,7
+2205,6
@@
static int snd_pcm_release(struct inode *inode, struct file *file)
pcm_file = file->private_data;
substream = pcm_file->substream;
snd_assert(substream != NULL, return -ENXIO);
- snd_assert(!atomic_read(&substream->mmap_count), );
pcm = substream->pcm;
fasync_helper(-1, file, 0, &substream->runtime->fasync);
mutex_lock(&pcm->open_mutex);