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

From: Guenter Roeck
Date: Mon Feb 03 2020 - 14:14:57 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.
>
> 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()
>

For the series:

Tested-by: Guenter Roeck <linux@xxxxxxxxxxxx>

> drivers/gpio/gpiolib.c | 31 ++++++++++++++++++++++++++-----
> 1 file changed, 26 insertions(+), 5 deletions(-)
>
> --
> 2.23.0
>