Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Pierre-Louis Bossart and committed by
Mark Brown
e46e55b8 ed258130

+2 -2
+2 -2
sound/soc/sof/intel/hda.c
··· 783 783 pci->class); 784 784 return -ENODEV; 785 785 } 786 - dev_info(sdev->dev, "DSP detected with PCI class/subclass/prog-if 0x%06x\n", 787 - pci->class); 786 + dev_info_once(sdev->dev, "DSP detected with PCI class/subclass/prog-if 0x%06x\n", 787 + pci->class); 788 788 } 789 789 790 790 chip = get_chip_info(sdev->pdata);