commit | 70372a7566b5e552dbe48abdac08c275081d8558 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Dec 18 10:02:41 2014 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Feb 23 16:48:18 2015 +0100 |
tree | 5f83c45b918bed80633bf9b3dbbdc123c3b6bb60 | |
parent | dec84316dd53c90e93b4ee849483bd4bd1e9a585 [diff] |
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: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>