pinctrl: exynos: Handle only unmasked wakeup interrupts
authorTomasz Figa <t.figa@samsung.com>
Thu, 20 Sep 2012 22:33:55 +0000 (07:33 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Sep 2012 22:33:55 +0000 (07:33 +0900)
commitde59049bd651c1f6b05869a4292f4c8017bdeff9
tree335e692e23d8e00bbf64a0b6f1d78d7f9bd8fca9
parent3da23f27a0f6a5e44a01813a1c0a662011e5c221
pinctrl: exynos: Handle only unmasked wakeup interrupts

A bit in EINTxx_PEND register is set regardless of interrupt mask, which
causes spurious interrupts. To avoid them, the read value of pending
register must be masked with current interrupt mask manually.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/pinctrl/pinctrl-exynos.c