Re: [PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction

2014-05-09 Thread Linus Walleij
On Tue, Apr 29, 2014 at 9:42 PM, Alexey Charkov wrote: > 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

Re: [PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction

2014-05-09 Thread Linus Walleij
On Tue, Apr 29, 2014 at 9:42 PM, Alexey Charkov alch...@gmail.com wrote: 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

Re: [PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction

2014-04-30 Thread Tony Prisk
On 30/04/14 07:42, Alexey Charkov wrote: 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

Re: [PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction

2014-04-30 Thread Tony Prisk
On 30/04/14 07:42, Alexey Charkov wrote: 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

[PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction

2014-04-29 Thread Alexey Charkov
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.

[PATCH] pinctrl: vt8500: Ensure value reg is updated when setting direction

2014-04-29 Thread Alexey Charkov
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.