mbox series

[GIT,PULL] gpio fixes for v6.14-rc4

Message ID 20250221144750.108147-1-brgl@bgdev.pl
State New
Headers show
Series [GIT,PULL] gpio fixes for v6.14-rc4 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.14-rc4

Message

Bartosz Golaszewski Feb. 21, 2025, 2:47 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Linus,

Please pull the following set of GPIO fixes for the upcoming RC. There
are two fixes for GPIO core: one adds missing retval checks to older
code, while the second adds SRCU synchronization to legs in code that
were missed during the big rework a few cycles back. There's also one
small driver fix.

Best Regards,
Bartosz Golaszewski

The following changes since commit 0ad2507d5d93f39619fc42372c347d6006b64319:

  Linux 6.14-rc3 (2025-02-16 14:02:44 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.14-rc4

for you to fetch changes up to 96fa9ec477ff60bed87e1441fd43e003179f3253:

  gpiolib: don't bail out if get_direction() fails in gpiochip_add_data() (2025-02-20 14:08:18 +0100)

----------------------------------------------------------------
gpio fixes for v6.14-rc4

- check the return value of the get_direction() callback in struct
  gpio_chip
- protect the multi-line get/set legs in GPIO core with SRCU
- fix a race condition in gpio-vf610

----------------------------------------------------------------
Bartosz Golaszewski (3):
      gpiolib: check the return value of gpio_chip::get_direction()
      gpiolib: protect gpio_chip with SRCU in array_info paths in multi get/set
      gpiolib: don't bail out if get_direction() fails in gpiochip_add_data()

Johan Korsnes (1):
      gpio: vf610: add locking to gpio direction functions

 drivers/gpio/gpio-vf610.c |   4 ++
 drivers/gpio/gpiolib.c    | 100 ++++++++++++++++++++++++++++++++--------------
 drivers/gpio/gpiolib.h    |   4 +-
 3 files changed, 76 insertions(+), 32 deletions(-)