[PATCH 6.1 446/634] ASoC: qcom: q6asm-dai: perform correct state check before closing