Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'gpio-fixes-for-v6.16-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

Pull gpio fixes from Bartosz Golaszewski:

- fix performance regression when setting values of multiple GPIO lines
at once

- make sure the GPIO OF xlate code doesn't end up passing an
uninitialized local variable to GPIO core

- update MAINTAINERS

* tag 'gpio-fixes-for-v6.16-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
MAINTAINERS: remove bouncing address for Nandor Han
gpio: of: initialize local variable passed to the .of_xlate() callback
gpiolib: fix performance regression when using gpio_chip_get_multiple()

+4 -10
-7
MAINTAINERS
··· 27308 27308 W: http://www.marvell.com 27309 27309 F: drivers/i2c/busses/i2c-xlp9xx.c 27310 27310 27311 - XRA1403 GPIO EXPANDER 27312 - M: Nandor Han <nandor.han@ge.com> 27313 - L: linux-gpio@vger.kernel.org 27314 - S: Maintained 27315 - F: Documentation/devicetree/bindings/gpio/gpio-xra1403.txt 27316 - F: drivers/gpio/gpio-xra1403.c 27317 - 27318 27311 XTENSA XTFPGA PLATFORM SUPPORT 27319 27312 M: Max Filippov <jcmvbkbc@gmail.com> 27320 27313 S: Maintained
+1 -1
drivers/gpio/gpiolib-of.c
··· 708 708 unsigned int idx, unsigned long *flags) 709 709 { 710 710 char propname[32]; /* 32 is max size of property name */ 711 - enum of_gpio_flags of_flags; 711 + enum of_gpio_flags of_flags = 0; 712 712 const of_find_gpio_quirk *q; 713 713 struct gpio_desc *desc; 714 714
+3 -2
drivers/gpio/gpiolib.c
··· 3297 3297 static int gpio_chip_get_multiple(struct gpio_chip *gc, 3298 3298 unsigned long *mask, unsigned long *bits) 3299 3299 { 3300 - int ret; 3301 - 3302 3300 lockdep_assert_held(&gc->gpiodev->srcu); 3303 3301 3304 3302 if (gc->get_multiple) { 3303 + int ret; 3304 + 3305 3305 ret = gc->get_multiple(gc, mask, bits); 3306 3306 if (ret > 0) 3307 3307 return -EBADE; 3308 + return ret; 3308 3309 } 3309 3310 3310 3311 if (gc->get) {