[alsa-devel] [PATCH alsa-lib] pcm: Add the PCM state checks to plugins