Skip to content
Commit 7ea45643 authored by Alexey Charkov's avatar Alexey Charkov Committed by Linus Walleij
Browse files

pinctrl: vt8500: Ensure value reg is updated when setting direction



Current code only touches the direction register when setting direction
to output, which breaks logic like

echo high > /sys/class/gpio/gpio0/direction

which is expected to also set the value. This patch also adds a call
to update the value register when setting direction to output.

Signed-off-by: default avatarAlexey Charkov <alchark@gmail.com>
Acked-by: default avatarTony Prisk <linux@prisktech.co.nz>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 4b660a7f
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