snd_pcm_set_state
void snd_pcm_set_state(struct snd_pcm_substream *substream,
snd_pcm_set_state(substream, SNDRV_PCM_STATE_PREPARED);
EXPORT_SYMBOL_GPL(snd_pcm_set_state);
snd_pcm_set_state(substream, SNDRV_PCM_STATE_SETUP);
snd_pcm_set_state(substream, SNDRV_PCM_STATE_OPEN);
snd_pcm_set_state(substream, SNDRV_PCM_STATE_OPEN);