[PATCH v2] ASoC: amd: put off registering mach platform_dev to avoid -517 err

Mukunda, Vijendar Vijendar.Mukunda at amd.com
Fri May 22 13:13:43 CEST 2020


[AMD Official Use Only - Internal Distribution Only]



> -----Original Message-----
> From: Mark Brown <broonie at kernel.org>
> Sent: Friday, May 22, 2020 4:38 PM
> To: Hui Wang <hui.wang at canonical.com>
> Cc: alsa-devel at alsa-project.org; Mukunda, Vijendar
> <Vijendar.Mukunda at 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 ?





More information about the Alsa-devel mailing list