Re: [PATCH] regulator: core: Quiet -EPROBE_DEFER from regulator_bulk_get()

From: Mark Brown
Date: Thu May 17 2018 - 11:50:58 EST


On Mon, May 14, 2018 at 03:40:27PM -0700, Douglas Anderson wrote:

> The -EPROBE_DEFER virus demands special case code to avoid printing
> error messages when the error is only -EPROBE_DEFER. Spread the virus
> to a new host: regulator_bulk_get()

There's no requirement to suppress probe deferral messages and doing so
makes it harder to debug problems since things just fail silently. It's
better to work on making the core smarter about probe ordering, for
example by building out the device dependency infrastructure so that it
can be used to avoid trying to probe things when we know there are
unsatisfied dependencies.

Attachment: signature.asc
Description: PGP signature