Files
erofs-linux/drivers/gpio
Bartosz Golaszewski ec2cceadfa gpiolib: normalize the return value of gc->get() on behalf of buggy drivers
Commit 86ef402d80 ("gpiolib: sanitize the return value of
gpio_chip::get()") started checking the return value of the .get()
callback in struct gpio_chip. Now - almost a year later - it turns out
that there are quite a few drivers in tree that can break with this
change. Partially revert it: normalize the return value in GPIO core but
also emit a warning.

Cc: [email protected]
Fixes: 86ef402d80 ("gpiolib: sanitize the return value of gpio_chip::get()")
Reported-by: Dmitry Torokhov <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Dmitry Torokhov <[email protected]>
Link: https://patch.msgid.link/20260219-gpiolib-set-normalize-v2-1-f84630e45796@oss.qualcomm.com
Signed-off-by: Bartosz Golaszewski <[email protected]>
2026-02-23 11:49:23 +01:00
..
2025-11-25 14:10:06 +01:00
2026-01-13 15:17:35 +01:00
2025-11-25 14:10:07 +01:00
2025-11-25 14:10:06 +01:00
2025-11-25 14:10:07 +01:00