[alsa-devel] ERROR messages when PROBE_DEFER ?

Ricard Wanderlof ricard.wanderlof at axis.com
Mon May 16 17:37:09 CEST 2016


In sound/soc/soc-core.c:snd_bind_dai_link() (and a couple of other 
places), there are a number of dev_err printouts followed by return 
-EPROBE_DEFER. Should these really be ERROR messages, as a probe deferral 
is not an error?

Admittedly, if there really is a problem, it's nice to get some 
information about it, so perhaps the error level should be relaxed 
somewhat?

A case in point would be a SOC machine driver which needs a GPIO which is 
not loaded until after the kernel has booted.

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30


More information about the Alsa-devel mailing list