ASoC: SOF: Intel: hda-stream: remove use of __func__ in dev_dbg
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 16 Jun 2022 21:53:42 +0000 (16:53 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jun 2022 09:46:39 +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-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-stream.c

index d3403b7..a4d51f8 100644 (file)
@@ -116,13 +116,13 @@ int hda_dsp_stream_setup_bdl(struct snd_sof_dev *sdev,
        int remain, ioc;
 
        period_bytes = hstream->period_bytes;
-       dev_dbg(sdev->dev, "%s: period_bytes:0x%x\n", __func__, period_bytes);
+       dev_dbg(sdev->dev, "period_bytes:0x%x\n", period_bytes);
        if (!period_bytes)
                period_bytes = hstream->bufsize;
 
        periods = hstream->bufsize / period_bytes;
 
-       dev_dbg(sdev->dev, "%s: periods:%d\n", __func__, periods);
+       dev_dbg(sdev->dev, "periods:%d\n", periods);
 
        remain = hstream->bufsize % period_bytes;
        if (remain)