]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: Downgrade print level for invalid ACP mode
authorTakashi Iwai <tiwai@suse.de>
Fri, 27 Nov 2020 14:31:58 +0000 (15:31 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 30 Nov 2020 12:52:45 +0000 (12:52 +0000)
commit684dbbafd18d35cf8148c578dae76d21beef762d
tree063b1c75c7c5cdec863f99e445120c83031b15d5
parent0fb1431d3d360c1f5ae62187f35894ef9274d699
ASoC: amd: Downgrade print level for invalid ACP mode

The acp3x raven driver skips the probing when the given device isn't
connected with I2S.  This skip behavior itself is fine, but the driver
also emits an error message "Invalid ACP audio mode" with KERN_ERR.
This isn't nice since it appears on the boot screen even if a boot
splash is running, although this itself is no real error.

Downgrade the print level to KERN_INFO so that this message won't
appear on the console unnecessarily.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20201127143200.16272-2-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/pci-acp3x.c