Re: [PATCH V1] pinctrl: qcom: spmi-gpio: Update GPIO EN_CTL when setting pin config

From: Linus Walleij
Date: Wed Oct 11 2017 - 04:24:59 EST


On Tue, Sep 12, 2017 at 2:32 AM, <fenglinw@xxxxxxxxxxxxxx> wrote:

> From: Fenglin Wu <fenglinw@xxxxxxxxxxxxxx>
>
> GPIO is expected to be disabled iff PIN_CONFIG_BIAS_HIGH_IMPEDANCE is
> configured. Update is_enabled flag in config_set() so that it can
> reflect GPIO status correctly. Also modify EN_CTL register based on
> is_enabled flag in config_set() to configure the GPIO properly.
>
> Signed-off-by: Fenglin Wu <fenglinw@xxxxxxxxxxxxxx>

Patch applied with BjÃrn's ACK.

Expecting follow-up fixes as discussed in this thread.

Yours,
Linus Walleij