Skip to content
Commit eeb73e82 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

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.

CRs-Fixed: 2101818
Change-Id: Id6a437027d9b5230e8cfd99b991d3fc845315050
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent 86e4c9ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment