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:Timo Wischer <twischer@de.adit-jv.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Loading
Please sign in to comment