linux/drivers/pinctrl/stm32
Sergey Shtylyov 5a002bf206 pinctrl: stm32: return errors from stm32_gpio_direction_output()
In the STMicroelectronics STM32 driver, stm32_gpio_direction_output()
ignores the result of pinctrl_gpio_direction_output() for no good reason.
Let's propagate errors from pinctrl_gpio_direction_output() upstream...

Found by Linux Verification Center (linuxtesting.org) with the Svace static
analysis tool.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/5ce023a8-db0c-13a9-be42-09e3348ca44d@omp.ru
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-11-24 11:22:11 +01:00
..
Kconfig pinctrl: stm32: add stm32mp257 pinctrl support 2023-06-08 16:01:29 +02:00
Makefile pinctrl: stm32: add stm32mp257 pinctrl support 2023-06-08 16:01:29 +02:00
pinctrl-stm32.c pinctrl: stm32: return errors from stm32_gpio_direction_output() 2023-11-24 11:22:11 +01:00
pinctrl-stm32.h pinctrl: stm32: add stm32mp257 pinctrl support 2023-06-08 16:01:29 +02:00
pinctrl-stm32f429.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32f469.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32f746.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32f769.c pinctrl: stm32: add STM32F769 MCU support 2018-01-22 09:28:08 +01:00
pinctrl-stm32h743.c pinctrl: stm32: Fix copyright 2017-12-02 16:23:08 +01:00
pinctrl-stm32mp135.c pinctrl: stm32: prevent the use of the secure protected pins 2022-05-05 00:04:04 +02:00
pinctrl-stm32mp157.c pinctrl: stm32: improve bank clocks management 2022-05-01 23:25:58 +02:00
pinctrl-stm32mp257.c pinctrl: stm32: add stm32mp257 pinctrl support 2023-06-08 16:01:29 +02:00