ASoC: SOF: Intel: hda-dai: remove use of __func__ in dev_dbg
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 16 Jun 2022 21:53:41 +0000 (16:53 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jun 2022 09:46:38 +0000 (10:46 +0100)
The module and function information can be added with
'modprobe foo dyndbg=+pmf'

Suggested-by: Greg KH <gregkh@linuxfoundation.org>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220616215351.135643-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dai.c

index 70721de..ed74a1f 100644 (file)
@@ -393,7 +393,7 @@ static int hda_dai_prepare(struct snd_pcm_substream *substream, struct snd_soc_d
        if (hext_stream && hext_stream->link_prepared)
                return 0;
 
-       dev_dbg(sdev->dev, "%s: prepare stream dir %d\n", __func__, substream->stream);
+       dev_dbg(sdev->dev, "prepare stream dir %d\n", substream->stream);
 
        ret = hda_link_dma_prepare(substream);
        if (ret < 0)
@@ -419,7 +419,7 @@ static int ipc3_hda_dai_trigger(struct snd_pcm_substream *substream,
        struct snd_soc_dapm_widget *w;
        int ret;
 
-       dev_dbg(dai->dev, "%s: cmd=%d dai %s direction %d\n", __func__, cmd,
+       dev_dbg(dai->dev, "cmd=%d dai %s direction %d\n", cmd,
                dai->name, substream->stream);
 
        ret = hda_link_dma_trigger(substream, cmd);
@@ -468,7 +468,7 @@ static int ipc4_hda_dai_trigger(struct snd_pcm_substream *substream,
        struct snd_soc_dai *cpu_dai;
        int ret;
 
-       dev_dbg(dai->dev, "%s: cmd=%d dai %s direction %d\n", __func__, cmd,
+       dev_dbg(dai->dev, "cmd=%d dai %s direction %d\n", cmd,
                dai->name, substream->stream);
 
        hstream = substream->runtime->private_data;