[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbKWrdnbBp2e1kFd_3fYZxtWKnWPPgOd_FXSvXcOetLwA@mail.gmail.com>
Date: Wed, 7 Feb 2018 13:57:04 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: David Lechner <david@...hnology.com>
Cc: linux-gpio@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpiolib: suppress error message on EPROBE_DEFER
On Sun, Jan 21, 2018 at 9:32 PM, David Lechner <david@...hnology.com> wrote:
> This suppresses printing an error message during probe of gpio drivers
> when the error is EPROBE_DEFER.
>
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Signed-off-by: David Lechner <david@...hnology.com>
I'm not sure about this.
GPIO can be very basic system components. If we don't
print this, defer a few times (for some reason) and then
the kernel gives up on retrying, silently (as it happens)
there is no trace in dmesg of what happened. That makes
things hard to debug.
This happened to me with some other driver, so it is not
a made up example.
What about an explicit deferral message for now?
Yours,
Linus Walleij
Powered by blists - more mailing lists