From: Takashi Iwai Date: Thu, 18 Dec 2014 09:02:41 +0000 (+0100) Subject: ALSA: pcm: Don't leave PREPARED state after draining X-Git-Tag: fixes-v4.0-rc2~32^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70372a7566b5e552dbe48abdac08c275081d8558;p=pandora-kernel.git ALSA: pcm: Don't leave PREPARED state after draining When a PCM draining is performed to an empty stream that has been already in PREPARED state, the current code just ignores and leaves as it is, although the drain is supposed to set all such streams to SETUP state. This patch covers that overlooked case. Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed