diff options
author | Alexey Charkov <alchark@gmail.com> | 2014-04-29 23:42:00 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-05-22 23:46:10 +0200 |
commit | 7ea456436ff6563b6cf89d3254ae76a8ceab499b (patch) | |
tree | 78087b25ad0a6f22eeaab36bccba00d473011ebb /drivers/net/gianfar.c | |
parent | 4b660a7f5c8099d88d1a43d8ae138965112592c7 (diff) |
pinctrl: vt8500: Ensure value reg is updated when setting directionpinctrl-v3.15-4
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>
Diffstat (limited to 'drivers/net/gianfar.c')
0 files changed, 0 insertions, 0 deletions