[PATCH v2 04/20] ASoC: qcom: q6asm-dai: perform correct state check before closing