]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: qcom: qdapm-lpass-dai: correct the error message
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Thu, 2 Apr 2026 08:11:15 +0000 (08:11 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 2 Apr 2026 15:33:46 +0000 (16:33 +0100)
Fix the error message to reflect the actual graph stop error
instead of graph close error.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20260402081118.348071-11-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6apm-lpass-dais.c

index ba64117b8cfe1381bec6ea4d7f0acf50f3407861..87f6db12003e3ae2bdc7358e12eb548cec447138 100644 (file)
@@ -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, "failed to stop APM port (%d)\n", rc);
        }
 
        if (dai_data->graph[dai->id]) {