ASoC: amd: yc: Decrease level of error message
authorMario Limonciello <mario.limonciello@amd.com>
Mon, 18 Jul 2022 21:34:02 +0000 (16:34 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 19 Jul 2022 13:54:25 +0000 (14:54 +0100)
On a number of platforms that contain acp3x controller a new ERR level
message is showing up:

`acp6x pci device not found`

This is because ACP3x and ACP6x share same PCI ID but can be identified
by PCI revision.  As this is expected behavior for a system with ACP3x
decrease message to debug.

Fixes: b1630fcbfde6c ("ASoC: amd: yc: add new YC platform varaint support")
Cc: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220718213402.19497-1-mario.limonciello@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/pci-acp6x.c

index 20f7a99..77c5fa1 100644 (file)
@@ -159,7 +159,7 @@ static int snd_acp6x_probe(struct pci_dev *pci,
        case 0x6f:
                break;
        default:
-               dev_err(&pci->dev, "acp6x pci device not found\n");
+               dev_dbg(&pci->dev, "acp6x pci device not found\n");
                return -ENODEV;
        }
        if (pci_enable_device(pci)) {