pinctrl: armada-37xx: Fix spurious irq management
authorTerry Zhou <bjzhou@marvell.com>
Wed, 23 May 2018 08:44:05 +0000 (10:44 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 24 May 2018 08:16:43 +0000 (10:16 +0200)
commit702d1e81feae70aa16ca364b4d2d95ccad801022
treea3bd74e942498131c314d7ddbd469c4406e6bf72
parent973c1714de308bb9424f0eb5aaab275d1641a720
pinctrl: armada-37xx: Fix spurious irq management

Until now, if we found spurious irq in irq_handler, we only updated the
status in register but not the status in the code. Due to this the system
will got stuck dues to the infinite loop

[gregory.clement@bootlin.com: update comment and add fix and stable tags]
Fixes: 30ac0d3b0702 ("pinctrl: armada-37xx: Add edge both type gpio irq support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Terry Zhou <bjzhou@marvell.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c