ASoC: Intel: hda_dsp_common: don't multiline PCM topology warning
authorChris Down <chris@chrisdown.name>
Sun, 28 Nov 2021 14:31:46 +0000 (14:31 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 30 Nov 2021 13:08:09 +0000 (13:08 +0000)
On my T14s Gen2 I saw the following:

    [   16.057258] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3

    [   16.057261] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 4

    [   16.057263] skl_hda_dsp_generic skl_hda_dsp_generic: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 5

    [...and so on.]

It looks like the double newline is a mistake, so remove one.

Signed-off-by: Chris Down <chris@chrisdown.name>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/YaOS0sBueAfApwOx@chrisdown.name
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/hda_dsp_common.c

index efdc4bc..5c31ddc 100644 (file)
@@ -68,7 +68,7 @@ int hda_dsp_hdmi_build_controls(struct snd_soc_card *card,
                        hpcm->pcm = NULL;
                        hpcm->device = SNDRV_PCM_INVALID_DEVICE;
                        dev_warn(card->dev,
-                                "%s: no PCM in topology for HDMI converter %d\n\n",
+                                "%s: no PCM in topology for HDMI converter %d\n",
                                 __func__, i);
                }
                i++;