OSDN Git Service

ASoC: amd: Don't show messages about deferred probing by default
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 22 Jul 2021 13:27:27 +0000 (08:27 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 23 Jul 2021 13:52:49 +0000 (14:52 +0100)
commitaf7dc6f194a866cb3e991ef5248ffdeb3ef5c46a
tree40636ca0c34dc447126809e35fd3cb364d64ee23
parent08413fca62c63ccd245d20985460759c84499ebc
ASoC: amd: Don't show messages about deferred probing by default

Nearly every boot with a Lenovo P14s is showing
acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517

This isn't useful to a user, especially as probing will run again.
Use the dev_err_probe helper to hide the deferrerd probing messages.

CC: markpearson@lenovo.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20210722132731.13264-1-mario.limonciello@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/renoir/acp3x-rn.c