ALSA: line6: Sync PCM stop at disconnect
authorTakashi Iwai <tiwai@suse.de>
Mon, 19 Jan 2015 15:15:54 +0000 (16:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 Jan 2015 07:18:44 +0000 (08:18 +0100)
Call line6_pcm_disconnect() at disconnect to make sure that all URBs
are cleared.  Also reduce the superfluous snd_pcm_stop() calls from
the function (and remove the unused function) since the streams are
guaranteed to be stopped at this point via snd_card_disconnect().

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/line6/driver.c
sound/usb/line6/pcm.c

Simple merge
Simple merge