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

From: Linus Walleij
Date: Fri May 09 2014 - 07:40:55 EST


On Tue, Apr 29, 2014 at 9:42 PM, Alexey Charkov <alchark@xxxxxxxxx> 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 setting direction to output.
>
> Signed-off-by: Alexey Charkov <alchark@xxxxxxxxx>

Patch applied for fixes with Tony's ACK.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/