Skip to content
Commit 5a002bf2 authored by Sergey Shtylyov's avatar Sergey Shtylyov Committed by Linus Walleij
Browse files

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: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/5ce023a8-db0c-13a9-be42-09e3348ca44d@omp.ru


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 901b277e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment