]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: vx: Don't try to update capture stream before running
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Jan 2017 11:34:14 +0000 (12:34 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Jan 2017 17:01:35 +0000 (18:01 +0100)
commited3c177d960bb5881b945ca6f784868126bb90db
tree10d54581027c3da17631d4b622edff0589523939
parent874e1f6fad9a5184b67f4cee37c1335cd2cc5677
ALSA: vx: Don't try to update capture stream before running

The update of stream costs significantly, and we should avoid it
unless the stream really has started.  Check pipe->running flag
instead of pipe->prepared.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/vx/vx_pcm.c