diff options
| author | Junhui Liu <junhui.liu@pigmoral.tech> | 2026-03-12 16:42:42 +0800 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-03-19 13:52:56 +0100 |
| commit | c3b0c06b73974d75c640a4ebc8678f8538654e5a (patch) | |
| tree | 01853be4bfa36b7e452db4b0636fc5a6b8ea15a0 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 9ba4ef6847ba53dea92efce47c9e044fbf6d6dcf (diff) | |
pinctrl: spacemit: return -ENOTSUPP for unsupported pin configurations
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 <junhui.liu@pigmoral.tech>
Reviewed-by: Anand Moon <linux.amoon@gmail.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
