Skip to content

gpiolib: fix a regression introduced by gpio_do_set_config()

Bartosz Golaszewski linux-gpio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Revert "gpiolib: Remove duplicated function gpio_do_set_config()"drivers/gpio/gpiolib.c+23 -40 replies
2/3Revert "gpiolib: remove set but not used variable 'config'"drivers/gpio/gpiolib.c+2 -00 replies
3/3gpiolib: fix gpio_do_set_config()drivers/gpio/gpiolib.c+3 -30 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchGuenter Roeck
SeriesT-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Bartosz Golaszewski <[email protected]>

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(-)
Signature · 1 line
2.23.0