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: Alexey Charkov <alchark@gmail.com> Acked-by: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| pinctrl-vt8500.c | ||
| pinctrl-wm8505.c | ||
| pinctrl-wm8650.c | ||
| pinctrl-wm8750.c | ||
| pinctrl-wm8850.c | ||
| pinctrl-wmt.c | ||
| pinctrl-wmt.h | ||