Re: [PATCH v2 11/14] ASoC: qcom: qdapm-lpass-dai: correct the error message
From: Konrad Dybcio
Date: Tue Feb 24 2026 - 05:17:01 EST
On 2/23/26 7:07 PM, Srinivas Kandagatla wrote:
> Fix the error message to reflect the actual graph stop error
> instead of graph close error.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxxxxxxxx>
> ---
> sound/soc/qcom/qdsp6/q6apm-lpass-dais.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sound/soc/qcom/qdsp6/q6apm-lpass-dais.c b/sound/soc/qcom/qdsp6/q6apm-lpass-dais.c
> index f68d4b4974f3..fc246485e326 100644
> --- a/sound/soc/qcom/qdsp6/q6apm-lpass-dais.c
> +++ b/sound/soc/qcom/qdsp6/q6apm-lpass-dais.c
> @@ -150,7 +150,7 @@ static void q6apm_lpass_dai_shutdown(struct snd_pcm_substream *substream, struct
> rc = q6apm_graph_stop(dai_data->graph[dai->id]);
> dai_data->is_port_started[dai->id] = false;
> if (rc < 0)
> - dev_err(dai->dev, "fail to close APM port (%d)\n", rc);
> + dev_err(dai->dev, "fail to stop APM port (%d)\n", rc);
Might also make it "failed" while at it?
Konrad