aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ge.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2018-05-01 07:36:39 +0000
committerLinus Walleij <[email protected]>2018-05-16 12:35:24 +0000
commitba3efdff2cd214e4133b73f4891f6255b610c19b (patch)
treee078b1991d239189389a3d9c64ba3fd367a0bc6b /drivers/gpio/gpio-ge.c
parentgpio: xlp: Use of_device_get_match_data() (diff)
downloadkernel-ba3efdff2cd214e4133b73f4891f6255b610c19b.tar.gz
kernel-ba3efdff2cd214e4133b73f4891f6255b610c19b.zip
gpiolib: fix gpiochip_machine_hog()
There is a shifter vs vanilla mask bug here. We want to test if 1 << 11 is set but we're testing if 0xb is set. Fixes: 9a6c505f7df1 ("gpiolib: add hogs support for machine code") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Bartosz Golaszewski <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-ge.c')
0 files changed, 0 insertions, 0 deletions