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:
bfc4e86
)
[ALSA] pcxhr - Fix trigger start with non-linked streams
author
Takashi Iwai
<tiwai@suse.de>
Tue, 11 Sep 2007 19:28:50 +0000
(21:28 +0200)
committer
Jaroslav Kysela
<perex@perex.cz>
Tue, 16 Oct 2007 14:50:18 +0000
(16:50 +0200)
The non-linked streams couldn't be started properly due to missing
setting of stream->status.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/pcxhr/pcxhr.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/pcxhr/pcxhr.c
b/sound/pci/pcxhr/pcxhr.c
index cd4613a97bd78384267782163cbd257ab15a4976..2d618bd7e62b70f68719d6216813c8b54e1bf7dd 100644
(file)
--- a/
sound/pci/pcxhr/pcxhr.c
+++ b/
sound/pci/pcxhr/pcxhr.c
@@
-664,6
+664,7
@@
static int pcxhr_trigger(struct snd_pcm_substream *subs, int cmd)
if (pcxhr_update_r_buffer(stream))
return -EINVAL;
+ stream->status = PCXHR_STREAM_STATUS_SCHEDULE_RUN;
if (pcxhr_set_stream_state(stream))
return -EINVAL;
stream->status = PCXHR_STREAM_STATUS_RUNNING;