linux-stable/drivers/pinctrl/stm32
Alexandre Torgue d9665bb822 pinctrl: stm32: return proper error code in pin_config_set
".pin_config_set" or ".pin_config_group_set" can be called with a
configuration not supported (i.e. PIN_CONFIG_PERSIST_STATE). In this case,
it is more suitable to return -ENOTSUPP instead of -EINVAL.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Link: https://lore.kernel.org/r/20200615125951.28008-2-alexandre.torgue@st.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2020-06-20 23:08:00 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
pinctrl-stm32.c pinctrl: stm32: return proper error code in pin_config_set 2020-06-20 23:08:00 +02:00
pinctrl-stm32.h pinctrl: stm32: Use the correct style for SPDX License Identifier 2019-12-12 11:33:51 +01:00
pinctrl-stm32f429.c
pinctrl-stm32f469.c
pinctrl-stm32f746.c
pinctrl-stm32f769.c
pinctrl-stm32h743.c
pinctrl-stm32mp157.c pinctrl: stm32: Enable suspend/resume for stm32mp157c SoC 2019-05-24 13:21:45 +02:00