pinctrl: exynos: ack level-triggered interrupts before unmasking
authorDoug Anderson <dianders@chromium.org>
Mon, 17 Jun 2013 16:50:43 +0000 (09:50 -0700)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:25:42 +0000 (07:25 +0200)
commitd37a08958ce87617704c438aa2560939fd0cc437
treedb36ad9b8c46c556b1c636b04b960047e5c65db1
parente1a1b1e032e20120f00e7bf79cf6a12c304d68ad
pinctrl: exynos: ack level-triggered interrupts before unmasking

A level-triggered interrupt should be acked after the interrupt line
becomes inactive and before it is unmasked, or else another interrupt
will be immediately triggered.  Acking before or after calling the
handler is not enough.

Change-Id: I553444ce552df5722e606d71bea8bf7b862cce25
Signed-off-by: Luigi Semenzato <semenzato@chromium.org>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-exynos.c