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)
commit5a4753112afc4d418ec6023bac757a9ec3eb7a32
tree10c14a44a9d96003746c68968d2006ae98d10a49
parent31ca192139a152fcc550b9ebfb0e2d2d6247585e
ALSA: line6: Sync PCM stop at disconnect

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
This page took 0.024439 seconds and 5 git commands to generate.