]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: line6: Fix -EBUSY error during active monitoring
authorTakashi Iwai <tiwai@suse.de>
Tue, 14 Jul 2015 13:19:37 +0000 (15:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Jul 2015 13:19:37 +0000 (15:19 +0200)
commit4d0e677523a999e1dec28e55cc314c47ba09ca12
treed96caef9f0fd2a74ccc7c681603c12d8ed06574e
parentd1f15e06b2af57228d11e33e06a172ff58f5bc1c
ALSA: line6: Fix -EBUSY error during active monitoring

When a monitor stream is active, the next PCM stream access results in
EBUSY error because of the check in line6_stream_start().  Fix this by
just skipping the submission of pending URBs when the stream is
already running instead.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=101431
Cc: <stable@vger.kernel.org> # v4.0+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/pcm.c