[Letux-kernel] [PATCH v3] extcon: palmas: hide error messages if gpio returns -EPROBE_DEFER

Ladislav Michl ladis at linux-mips.org
Mon Feb 17 21:19:11 CET 2020

Hi Nikolaus,

On Mon, Feb 17, 2020 at 08:33:52PM +0100, H. Nikolaus Schaller wrote:
> Hi Ladis,
> > Am 17.02.2020 um 20:07 schrieb Ladislav Michl <ladis at linux-mips.org>:
> > Linux kernel prints so many lines on bootup and only few of them are
> > valuable. Lets improve it by printing error value to give a clue
> > why it failed.
> Hm. The upstream code does already print the error. This feature is not removed.
> But it is also printing an error in the EPROBE_DEFER case as well, where it is
> not needed or not an error.

It seems you missed I'm printing also error _value_. The rest of discussion
would need disassembly and I'll do it once I'll be waiting for yet another
long run recompile.


More information about the Letux-kernel mailing list