diff options
| author | saturneric <[email protected]> | 2025-08-10 11:10:48 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-08-10 11:10:48 +0000 |
| commit | 571159c4b03177052b1f0334623ea351a2bfa7a0 (patch) | |
| tree | 5bfcadc6c61b36e7cc223d7e2896f8e92b7badca /drivers/gpio/gpiolib.c | |
| parent | Merge tag 'v6.16-rc4' (diff) | |
| parent | Linux 6.16-rc6 (diff) | |
| download | kernel-571159c4b03177052b1f0334623ea351a2bfa7a0.tar.gz kernel-571159c4b03177052b1f0334623ea351a2bfa7a0.zip | |
Merge tag 'v6.16-rc6'
Linux 6.16-rc6
Diffstat (limited to 'drivers/gpio/gpiolib.c')
| -rw-r--r-- | drivers/gpio/gpiolib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index fac1e36b9849..a716544c4af7 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -3310,14 +3310,15 @@ static int gpiod_get_raw_value_commit(const struct gpio_desc *desc) static int gpio_chip_get_multiple(struct gpio_chip *gc, unsigned long *mask, unsigned long *bits) { - int ret; - lockdep_assert_held(&gc->gpiodev->srcu); if (gc->get_multiple) { + int ret; + ret = gc->get_multiple(gc, mask, bits); if (ret > 0) return -EBADE; + return ret; } if (gc->get) { |
