[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZY55abKFwTLnVGtw@google.com>
Date: Thu, 28 Dec 2023 23:46:49 -0800
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Hermes Zhang <Hermes.Zhang@...s.com>
Cc: kernel@...s.com, Hermes Zhang <chenhuiz@...s.com>,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: gpio-keys - filter gpio_keys -EPROBE_DEFER error
messages
On Fri, Dec 29, 2023 at 09:36:57AM +0800, Hermes Zhang wrote:
> From: Hermes Zhang <chenhuiz@...s.com>
>
> commit ae42f9288846 ("gpio: Return EPROBE_DEFER if gc->to_irq is NULL")
> make gpiod_to_irq() possible to return -EPROBE_DEFER when the racing
> happens. This causes the following error message to be printed:
>
> gpio-keys gpio_keys: Unable to get irq number for GPIO 0, error -517
>
> Fix that by changing dev_err() to dev_err_probe()
>
> Signed-off-by: Hermes Zhang <chenhuiz@...s.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists