[alsa-devel] [PATCH v2 1/1] ASoC: core: Do not print an actual error when deferring probe

Alexander Stein alexander.stein at systec-electronic.com
Wed May 18 17:53:49 CEST 2016


On Wednesday 18 May 2016 16:20:28, Mark Brown wrote:
> On Wed, May 18, 2016 at 05:07:00PM +0200, Alexander Stein wrote:
> > In case there is no DAI (yet), do not print an error, this might happen
> > a lot of times. Print a notice instead.
> 
> Oh, and the other thing about this which I should have mentioned is that
> it applies to every single resource acquisition in the kernel - this
> needs addressing at a global error rather than piecemeal.  Raphael was
> intending to work on avoiding probe deferral in the first place by
> sorting probe and there were also some proposals to have a helper for
> printing error messages which would suppress the display of probe
> deferral errors before the final run at late initcall.  Obviously the
> second mechanism is substantially simpler to implement.

I remember those patches a bit. But working with late initcall sound to me 
this has no effect on probe deferral in drivers loaded by modules, no?

Regards,
Alexander



More information about the Alsa-devel mailing list