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: Fenglin Wu <fenglinw@codeaurora.org>
Loading
Please register or sign in to comment