summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-ocelot.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-12-06 14:16:48 +0100
committerLinus Walleij <linus.walleij@linaro.org>2021-12-16 03:44:08 +0100
commit8df89a7cbc63c7598c00611ad17b67e8d5b4fad3 (patch)
tree0cdbf62a07efcb8b3049c12379ae7a575deaed0f /drivers/pinctrl/pinctrl-ocelot.c
parent1a4541b68e250bc4b21bd4c6178877523c5d896b (diff)
downloadlinux-stable-8df89a7cbc63c7598c00611ad17b67e8d5b4fad3.tar.gz
linux-stable-8df89a7cbc63c7598c00611ad17b67e8d5b4fad3.tar.bz2
linux-stable-8df89a7cbc63c7598c00611ad17b67e8d5b4fad3.zip
pinctrl-sunxi: don't call pinctrl_gpio_direction()
Set the direction directly without calling pinctrl_gpio_direction(). This avoids the mutex_lock() calls in that function, which would invalid the can_sleep = false. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Link: https://lore.kernel.org/r/20211206131648.1521868-4-hverkuil-cisco@xs4all.nl Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-ocelot.c')
0 files changed, 0 insertions, 0 deletions