]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9f50a0c4b5246fbcd87436f824178818541c9b0
tree3b786c66acb4d0fd948794897e0e9093afcfeb1a
parent985f3489ff0fb9e3714024d3ea388b8c85ca218f
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