[AMD Official Use Only - Internal Distribution Only]
-----Original Message----- From: Mark Brown broonie@kernel.org Sent: Friday, May 22, 2020 4:38 PM To: Hui Wang hui.wang@canonical.com Cc: alsa-devel@alsa-project.org; Mukunda, Vijendar Vijendar.Mukunda@amd.com Subject: Re: [PATCH v2] ASoC: amd: put off registering mach platform_dev to avoid -517 err
On Fri, May 22, 2020 at 04:17:38PM +0800, Hui Wang wrote:
If the mach driver's probe is called ahead of codec driver's probe, the kernel will print -517 error message although the audio still works finally: acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517
This is just a bodge which will be at best unrelaible, it might work around your problem right now on your specific system but it may well introduce issues on someone else's.
Does sound card registration failure at boot time due to modules loading order can be considered as bug ?