]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerSasha Levin <alexander.levin@verizon.com>
Thu, 7 Dec 2017 02:20:11 +0000 (21:20 -0500)
commitdb2e059fb898dc8142796b3a7010a626c0c398f5
tree218cf471db5e245a0a6b61ae8b861826016ed244
parentc2bca39c34d8b5e8edcb7d7b629c7f24e011bbe5
ALSA: vx: Don't try to update capture stream before running

[ Upstream commit ed3c177d960bb5881b945ca6f784868126bb90db ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
sound/drivers/vx/vx_pcm.c