From: Liam Girdwood Date: Fri, 13 Sep 2013 16:43:16 +0000 (+0100) Subject: ALSA: compress: Make sure we trigger STOP before closing the stream. X-Git-Tag: v3.12-rc3~19^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b26d19e44adfd10b691bf4ffd50ed411c1be9317;p=pandora-kernel.git ALSA: compress: Make sure we trigger STOP before closing the stream. Currently we assume that userspace will shut down the compressed stream correctly. However, if userspcae dies (e.g. cplay & ctrl-C) we dont stop the stream before freeing it. This now checks that the stream is stopped before freeing. Signed-off-by: Liam Girdwood Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed