Commit e46e55b8 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

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: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Link: https://msgid.link/r/20240527193936.165702-1-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent ed258130
...@@ -783,8 +783,8 @@ int hda_dsp_probe_early(struct snd_sof_dev *sdev) ...@@ -783,8 +783,8 @@ int hda_dsp_probe_early(struct snd_sof_dev *sdev)
pci->class); pci->class);
return -ENODEV; return -ENODEV;
} }
dev_info(sdev->dev, "DSP detected with PCI class/subclass/prog-if 0x%06x\n", dev_info_once(sdev->dev, "DSP detected with PCI class/subclass/prog-if 0x%06x\n",
pci->class); pci->class);
} }
chip = get_chip_info(sdev->pdata); chip = get_chip_info(sdev->pdata);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment