From: Takashi Iwai Date: Mon, 19 Jan 2015 15:15:54 +0000 (+0100) Subject: ALSA: line6: Sync PCM stop at disconnect X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~44^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a4753112afc4d418ec6023bac757a9ec3eb7a32;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed