diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2024-05-27 14:39:36 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-29 11:24:14 +0100 |
commit | e46e55b8142c2b02972e4a73753fa330a4541315 (patch) | |
tree | 9290aa4da02b96a9e8e670f8e04e06f7789f9a41 /sound/soc/sof/intel | |
parent | ed2581305360725381190bc442918e4e5b2b8545 (diff) | |
download | linux-e46e55b8142c2b02972e4a73753fa330a4541315.tar.gz linux-e46e55b8142c2b02972e4a73753fa330a4541315.tar.bz2 linux-e46e55b8142c2b02972e4a73753fa330a4541315.zip |
ASoC: SOF: Intel: hda: print PCI class info only once
With the deferred probe mechanism used by the gfx/display subsystem,
we see this message repeated for no good reason. Print the information
only once.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://msgid.link/r/20240527193936.165702-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel')
-rw-r--r-- | sound/soc/sof/intel/hda.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/sof/intel/hda.c b/sound/soc/sof/intel/hda.c index e6a38de0a0aa..541c6052d4ed 100644 --- a/sound/soc/sof/intel/hda.c +++ b/sound/soc/sof/intel/hda.c @@ -783,8 +783,8 @@ int hda_dsp_probe_early(struct snd_sof_dev *sdev) pci->class); return -ENODEV; } - dev_info(sdev->dev, "DSP detected with PCI class/subclass/prog-if 0x%06x\n", - pci->class); + dev_info_once(sdev->dev, "DSP detected with PCI class/subclass/prog-if 0x%06x\n", + pci->class); } chip = get_chip_info(sdev->pdata); |