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-v5.13-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux

Pull gpio fix from Bartosz Golaszewski:
"Fix a shift-out-of-bounds error in gpio-wcd934x"

* tag 'gpio-fixes-for-v5.13-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
gpio: wcd934x: Fix shift-out-of-bounds error

+1 -1
+1 -1
drivers/gpio/gpio-wcd934x.c
··· 7 7 #include <linux/slab.h> 8 8 #include <linux/of_device.h> 9 9 10 - #define WCD_PIN_MASK(p) BIT(p - 1) 10 + #define WCD_PIN_MASK(p) BIT(p) 11 11 #define WCD_REG_DIR_CTL_OFFSET 0x42 12 12 #define WCD_REG_VAL_CTL_OFFSET 0x43 13 13 #define WCD934X_NPINS 5