Re: [PATCH v2] pinctrl: baytrail: show output gpio state correctly on Intel Baytrail
From: Linus Walleij
Date: Tue Oct 28 2014 - 06:17:41 EST
On Tue, Oct 14, 2014 at 7:54 PM, David Cohen
<david.a.cohen@xxxxxxxxxxxxxxx> wrote:
> Even if a gpio pin is set to output, we still need to set INPUT_EN
> functionality (by clearing INPUT_EN bit) to be able to read the pin's
> level.
>
> E.g. without this change, we'll always read low level state from sysfs.
>
> Cc: <stable@xxxxxxxxxxxxxxx> # v3.14+
> Cc: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
> Signed-off-by: David Cohen <david.a.cohen@xxxxxxxxxxxxxxx>
> ---
>
> v1 to v2: improved patch's body description as requested by Felipe Balbi
This v2 version applied for fixes with Felipe's review tag.
Sorry for slow catching up with email :(
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/