diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-12-06 14:16:48 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-12-16 03:44:08 +0100 |
commit | 8df89a7cbc63c7598c00611ad17b67e8d5b4fad3 (patch) | |
tree | 0cdbf62a07efcb8b3049c12379ae7a575deaed0f /.clang-format | |
parent | 1a4541b68e250bc4b21bd4c6178877523c5d896b (diff) |
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 '.clang-format')
0 files changed, 0 insertions, 0 deletions