/* After stopping, the state is changed to SETUP. Unlike snd_pcm_stop(), this affects only the given stream.  */
int snd_pcm_drain_done(struct snd_pcm_substream *substream)
/* After stopping, the state is changed to SETUP. Unlike snd_pcm_stop(), this affects only the given stream.  */
int snd_pcm_drain_done(struct snd_pcm_substream *substream)
{
	return snd_pcm_action_single(&snd_pcm_action_stop, substream,
				     SNDRV_PCM_STATE_SETUP);
}