mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Return -ENOTSUPP instead of -EINVAL when encountering unsupported pin configuration parameters. This is more logical and allows the GPIO subsystem to gracefully handle unsupported parameters via functions like gpio_set_config_with_argument_optional(), which specifically ignores -ENOTSUPP but treats others as failure. Signed-off-by: Junhui Liu <[email protected]> Reviewed-by: Anand Moon <[email protected]> Reviewed-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Yixun Lan <[email protected]> Signed-off-by: Linus Walleij <[email protected]>