commit | 5a4753112afc4d418ec6023bac757a9ec3eb7a32 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon Jan 19 16:15:54 2015 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Jan 20 08:18:44 2015 +0100 |
tree | 10c14a44a9d96003746c68968d2006ae98d10a49 | |
parent | 31ca192139a152fcc550b9ebfb0e2d2d6247585e [diff] |
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>