Re: [PATCH 0/3] gpiolib: fix a regression introduced by gpio_do_set_config()

From: Andy Shevchenko
Date: Mon Feb 03 2020 - 09:31:10 EST


On Mon, Feb 03, 2020 at 02:30:23PM +0100, Bartosz Golaszewski wrote:
> From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
>
> These three patches fix a regression introduced by commit d90f36851d65
> ("gpiolib: have a single place of calling set_config()"). We first need
> to revert patches that came on top of it, then apply the actual fix.

Thank you for addressing this!

It might be good to add Fixes / Depends-on to the first two, but I didn't look
if they are in any of v5.5 or older release.

> Bartosz Golaszewski (3):
> Revert "gpiolib: Remove duplicated function gpio_do_set_config()"
> Revert "gpiolib: remove set but not used variable 'config'"
> gpiolib: fix gpio_do_set_config()
>
> drivers/gpio/gpiolib.c | 31 ++++++++++++++++++++++++++-----
> 1 file changed, 26 insertions(+), 5 deletions(-)
>
> --
> 2.23.0
>

--
With Best Regards,
Andy Shevchenko