summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorLiu Gang <Gang.Liu@nxp.com>2016-10-21 15:31:28 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-28 03:01:25 -0400
commit02785b1fc2fbdc86c62ffa3f550865303ee3235d (patch)
tree982dcf36c6cba08b873720aa4538e5d4b6a3bbf8 /drivers/misc
parent3afd8362fabd167bb04f79501f21dd67aa9cb99f (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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions