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