[PATCH] ALSA: pcm: Need to check whether runtime is valid or not