Skip to content
Commit 1a4541b6 authored by Hans Verkuil's avatar Hans Verkuil Committed by Linus Walleij
Browse files

pinctrl-bcm2835: 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: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211206131648.1521868-3-hverkuil-cisco@xs4all.nl
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent dc1b2424
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