From: Alexey Charkov Date: Tue, 29 Apr 2014 19:42:00 +0000 (+0400) Subject: pinctrl: vt8500: Ensure value reg is updated when setting direction X-Git-Tag: omap-for-v3.16/fixes-against-rc1~136^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ea456436ff6563b6cf89d3254ae76a8ceab499b;p=pandora-kernel.git 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: Alexey Charkov Acked-by: Tony Prisk Signed-off-by: Linus Walleij --- Reading git-diff-tree failed