diff options
| author | Fenglin Wu <fenglinw@codeaurora.org> | 2017-09-12 08:32:46 +0800 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2017-10-11 10:23:35 +0200 |
| commit | 6cb74f444364c2f05ef21e84b22c82ebcd116131 (patch) | |
| tree | 72bed2cfe24908fdfcac6eba532e47f46f91f82f /lib/mpi/mpiutil.c | |
| parent | 2a7893c8b5318063b126a97b5524db3a247a719a (diff) | |
pinctrl: qcom: spmi-gpio: Update GPIO EN_CTL when setting pin config
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@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
