]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61f4a60d163d0d40ff9a171f17cafdfb8ce838ee
treedb6e5dc10e1007794b1e039d03acb7e726823312
parent17a6a76b59077db8b36e350068fad5b605b132e7
gpio/nomadik: fix spurious interrupts with SKE

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>
drivers/gpio/gpio-nomadik.c