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

From: Mark Brown
Date: Tue Dec 09 2014 - 11:14:39 EST


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: signature.asc
Description: Digital signature