ASoC: q6apm-lpass-dais: Print APM port id in decimal on enable error
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Wed, 14 May 2025 17:53:38 +0000 (19:53 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 15 May 2025 07:36:01 +0000 (09:36 +0200)
Change the port enable failure error message format specifier to make
it less confusing.

Take the chance to align the style ('fail'->'Failed') while at it.

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20250514-topic-asoc_print_hexdec-v1-1-85e90947ec4f@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6apm-lpass-dais.c

index 9c98a35ad09945173c15dd6dff34830f43fe9388..a0d90462fd6a3807502f3e272dfb852d4d9c0f62 100644 (file)
@@ -206,7 +206,7 @@ static int q6apm_lpass_dai_prepare(struct snd_pcm_substream *substream, struct s
 
        rc = q6apm_graph_start(dai_data->graph[dai->id]);
        if (rc < 0) {
-               dev_err(dai->dev, "fail to start APM port %x\n", dai->id);
+               dev_err(dai->dev, "Failed to start APM port %d\n", dai->id);
                goto err;
        }
        dai_data->is_port_started[dai->id] = true;