]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Aug 2015 19:21:53 +0000 (12:21 -0700)
commit2b16e01ae6b5c0c5e1f382fcad51a3053270374a
tree23eeb49b774629be23bee2d94493dc4902b1fc96
parentd1374d7f4f70867f7d0a7b4a89be086a143e5cdd
ALSA: line6: Fix -EBUSY error during active monitoring

commit 4d0e677523a999e1dec28e55cc314c47ba09ca12 upstream.

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
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/line6/pcm.c