projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b87819
)
[ALSA] Fix pcm-draining of capture stream in PCM middle layer
author
Takashi Iwai
<tiwai@suse.de>
Wed, 17 May 2006 15:10:35 +0000
(17:10 +0200)
committer
Jaroslav Kysela
<perex@suse.cz>
Thu, 22 Jun 2006 19:33:43 +0000
(21:33 +0200)
Fix the draining of PCM capture stream in the PCM middle layer.
snd_pcm_drain() ignored capture streams, but it should change
the state to SNDRV_PCM_DRAINING.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/core/pcm_native.c
b/sound/core/pcm_native.c
index a998f88e3f30e3d17a7d6cdd26702f68b9b14790..9e495244eee2198613b32c6edf05258b77c2d7af 100644
(file)
--- a/
sound/core/pcm_native.c
+++ b/
sound/core/pcm_native.c
@@
-1469,8
+1469,6
@@
static int snd_pcm_drain(struct snd_pcm_substream *substream)
}
}
up_read(&snd_pcm_link_rwsem);
- if (! num_drecs)
- goto _error;
snd_pcm_stream_lock_irq(substream);
/* resume pause */