[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdb+m1y85SG0N63zRqjZGSoiSO8zNNHCQUr4gpmnD8uX9g@mail.gmail.com>
Date: Tue, 14 Nov 2023 21:29:46 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
linux-gpio@...r.kernel.org, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Bartosz Golaszewski <brgl@...ev.pl>,
Hans de Goede <hdegoede@...hat.com>,
Ferry Toth <ftoth@...londelft.nl>
Subject: Re: [PATCH v1 3/3] gpiolib: Make debug messages in
gpiod_find_by_fwnode() less confusing
On Thu, Oct 19, 2023 at 7:35 PM Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> wrote:
> Currently the extended debug messages have added confusion,
> but value when con_id is NULL, which is the case for, e.g.,
> GPIO LEDs.
>
> Improve the messaging by using GPIO function name rather than con_id.
> This requires to split and move the second part after the respective
> calls.
>
> Reported-by: Ferry Toth <ftoth@...londelft.nl>
> Fixes: 8eb1f71e7acc ("gpiolib: consolidate GPIO lookups")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
It sounds nice and looks reasonable so:
Acked-by: Linus Walleij <linus.walleij@...aro.org>
A dmesg example before/after here would be nice as
well, if possible.
Yours,
Linus Walleij
Powered by blists - more mailing lists