[PATCH for-5.8] ASoC: amd: doesn't print error log if the return value is EPROBE_DEFER

Mark Brown broonie at kernel.org
Fri May 22 13:00:26 CEST 2020


On Fri, May 22, 2020 at 03:47:22PM +0800, Hui Wang wrote:

> There are many modules in the kernel, no other modules print the -517 error

This is quite simply not true.

> or warning, so if this driver prints it, it really confuses users (according
> to my test, the audio works but the kernel prints this error with 100%
> chance, and within ubuntu, the error message is read color, it is very
> easily caught by users).

> How about we put off the registering the machine device, this can guarantee
> everything is ready when machine driver's probe is called. I will send a V2
> according to this idea.

You could also lower the severity of the message when deferring.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200522/a6f75f36/attachment.sig>


More information about the Alsa-devel mailing list