snd_pcm_stop_xrun - stop the running streams as XRUN
int snd_pcm_stop_xrun(struct snd_pcm_substream * substream);
This stops the given running substream (and all linked substreams) as XRUN. Unlike snd_pcm_stop, this function takes the substream lock by itself.
Zero if successful, or a negative error code.
|January 2017||Kernel Hackers Manual 4.8.|