Commit 07a17bd5 authored by Timo Wischer's avatar Timo Wischer Committed by Takashi Iwai
Browse files

pcm: ioplug: update prepare and draining state correctly



PREPARED should only be set when it is done and it was successfully.

DRAINING should be signalled when starting to drain. There is no need to
check if draining was successfully because it will change to drop (SETUP)
in any case.

Signed-off-by: default avatarTimo Wischer <twischer@de.adit-jv.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 22618077
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment