summaryrefslogtreecommitdiff
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLiu Gang <Gang.Liu@nxp.com>2016-10-21 07:31:28 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2016-10-24 00:20:40 (GMT)
commitd71cf15b865bdd45925f7b094d169aaabd705145 (patch)
tree1978e26de814c4c2d8741ba4df0d513d288cd0e4 /drivers/mfd
parent6d8d271eee0eaa3c3ffd6db29a825e02316359d4 (diff)
downloadlinux-d71cf15b865bdd45925f7b094d169aaabd705145.tar.xz
gpio: mpc8xxx: Correct irq handler function
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>
Diffstat (limited to 'drivers/mfd')
0 files changed, 0 insertions, 0 deletions