diff options
author | Hugues Fruchet <hugues.fruchet@st.com> | 2017-03-31 10:12:39 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-04-27 10:25:07 +0200 |
commit | b97eef5d77b53662b06603c1b18e21968029c925 (patch) | |
tree | a5594100f4e67002cb1d688571212b2034344f61 /drivers/mfd/hi6421-pmic-core.c | |
parent | mfd: bxtwc: Remove unnecessary i2c_addr checks in ipc calls (diff) | |
download | linux-b97eef5d77b53662b06603c1b18e21968029c925.tar.xz linux-b97eef5d77b53662b06603c1b18e21968029c925.zip |
mfd: stmpe: Fix bit clearing on STMPE1600
GPIO bits clearing on pins assigned to STMPE1600
had no effects due to missing "clear registers"
settings within stmpe1600_regs[].
STMPE1600 does not have dedicated "clear registers",
but single "set/clear registers", hence stmpe1600_regs[]
"clear registers" (STMPE_IDX_GPCR_XXX) must be set to
same value as "set registers" (STMPE_IDX_GPSR_XXX), ie
STMPE1600_REG_GPSR_XXX.
Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/hi6421-pmic-core.c')
0 files changed, 0 insertions, 0 deletions