gpio: stmpe: Write int status register only when needed
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 10 Aug 2016 07:39:09 +0000 (09:39 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 10 Aug 2016 08:23:49 +0000 (09:23 +0100)
commit6936e1f88d233444ac8010d9b6bfaac3ba698ee2
tree3b786c66acb4d0fd948794897e0e9093afcfeb1a
parent287849cb3814a5077c79a2489bef055c9f5e656c
gpio: stmpe: Write int status register only when needed

On STMPE801/1801 datasheets, it's mentionned writing
in interrupt status register has no effect, bits are
cleared when reading.

Signed-off-by: Amelie DELAUNAY <amelie.delaunay@st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/gpio/gpio-stmpe.c
This page took 0.025375 seconds and 5 git commands to generate.