stop_endpoints
stop_endpoints(subs, substream->runtime->state == SNDRV_PCM_STATE_DRAINING);
stop_endpoints(subs, false);
stop_endpoints(subs, false);
if (stop_endpoints(subs, false))
if (stop_endpoints(subs, false))