commit | e1935da26f2f9ae0a5770dd9d91b77bd9a6d6fde | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Dec 18 10:02:41 2014 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:21:15 2020 +0200 |
tree | 28533b1525f4e2ce8bff0a523d78cec7ab7bd157 | |
parent | be3595d31edbb212ed9fba7e3e3c3e72fa0ec427 [diff] |
ALSA: pcm: Don't leave PREPARED state after draining commit 70372a7566b5e552dbe48abdac08c275081d8558 upstream. 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. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Zefan Li <lizefan@huawei.com>