[PATCH] ASoC: soc-pcm: add a check for unsupported commands to the soc_pcm_trigger

From: xuhanwu
Date: Fri Mar 15 2024 - 04:24:20 EST


Dear broonie

Issue: Before and after Linux version 6.2, when the cmd is
SNDRV_PCM_TRIGGER_DRAIN, calling the function soc_pcm_trigger results
in different return values.
Through your guidance, I've realized that the code logic has been adjusted.
I will further deepen my study of the code. Thank you for your guidance.

Thank you for your help.
xuhanwu