Re: [PATCH 1/2] drivers/regulator/core.c: Don't print error on EPROBE_DEFER

Mark Brown
2014-12-09T16:14:36Z

[-- Attachment #1: Type: text/plain, Size: 730 bytes --]

On Tue, Dec 09, 2014 at 02:12:43PM +0100, Mike Looijmans wrote:
> If a regulator depends on another regulator that happens to be called
> later, the kernel always prints a message like this:
> reg-fixed-voltage regulator_sd1: Failed to find supply vin
> Since the deferral is not something fatal, nor even something the user
> may need to be aware about, reduce the message to debug level.

No, we need to tell users if we're deferring since there's no guarantee
that the device blocking registration is ever going to be loaded - we
need to let the user know why the device isn't appearing so that they
can diagnose problems. Yes, it's noisy and ideally we'd have something
more efficient than deferred probe but there we are.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]