snd_pcm_stop() must be called in the PCM substream lock context