gpio/nomadik: fix spurious interrupts with SKE
authorRabin Vincent <rabin.vincent@stericsson.com>
Mon, 23 May 2011 06:52:18 +0000 (12:22 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 23 Apr 2012 09:04:50 +0000 (11:04 +0200)
If the pin is switching to altfunc, and there was an interrupt
installed on it which has been lazy disabled, actually mask the
interrupt to prevent spurious interrupts that would occur while
the pin is under control of the peripheral. Only SKE does this.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found