Skip to content

Commit 768d8c7

Browse files
tiwaiperexg
authored andcommitted
[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 <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
1 parent bfc4e86 commit 768d8c7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎sound/pci/pcxhr/pcxhr.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,7 @@ static int pcxhr_trigger(struct snd_pcm_substream *subs, int cmd)
664664
if (pcxhr_update_r_buffer(stream))
665665
return -EINVAL;
666666

667+
stream->status = PCXHR_STREAM_STATUS_SCHEDULE_RUN;
667668
if (pcxhr_set_stream_state(stream))
668669
return -EINVAL;
669670
stream->status = PCXHR_STREAM_STATUS_RUNNING;

0 commit comments

Comments
 (0)