Commit:     768d8c7df886fc5cc9d6057cc987ef8e52d197b5
Parent:     bfc4e8616679226b1f113a46df491e233c8dc338
Author:     Takashi Iwai <[EMAIL PROTECTED]>
AuthorDate: Tue Sep 11 21:28:50 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 16:50:18 2007 +0200

    [ALSA] pcxhr - Fix trigger start with non-linked streams
    The non-linked streams couldn't be started properly due to missing
    setting of stream->status.
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
 sound/pci/pcxhr/pcxhr.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/pci/pcxhr/pcxhr.c b/sound/pci/pcxhr/pcxhr.c
index cd4613a..2d618bd 100644
--- 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;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to