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

From: Linus Walleij
Date: Tue Sep 19 2017 - 04:20:45 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>

Pending on BjÃrn's review here.

Yours,
Linus Walleij