pinctrl: stm32: return error upon hwspinlock failure
authorAlexandre Torgue <alexandre.torgue@st.com>
Thu, 14 Feb 2019 16:54:25 +0000 (17:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 20 Feb 2019 09:41:09 +0000 (10:41 +0100)
commite003ec6aa94baddc964899b5f8a62327c693babf
treef261e6a27fcc412c13e66d500e19b0b094c9f736
parentcd8c9b5a49576bf28990237715bc2cb2210ac80a
pinctrl: stm32: return error upon hwspinlock failure

Return error to the caller when the hwspinlock can't get locked.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c