aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLiu Gang <Gang.Liu@nxp.com>2016-10-21 15:31:28 +0800
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:58:54 +0200
commit735123dc466826e839993f4930c8fb56a8d27fc0 (patch)
treea7f59399baa83c95052e0e1ad1d081c16134660d /include/linux
parent29ce24e9b5cce6a166c52350976340b35bd1b5ff (diff)
gpio: mpc8xxx: Correct irq handler function
commit d71cf15b865bdd45925f7b094d169aaabd705145 upstream. From the beginning of the gpio-mpc8xxx.c, the "handle_level_irq" has being used to handle GPIO interrupts in the PowerPC/Layerscape platforms. But actually, almost all PowerPC/Layerscape platforms assert an interrupt request upon either a high-to-low change or any change on the state of the signal. So the "handle_level_irq" is not reasonable for PowerPC/Layerscape GPIO interrupt, it should be "handle_edge_irq". Otherwise the system may lost some interrupts from the PIN's state changes. Signed-off-by: Liu Gang <Gang.Liu@nxp.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions