Re: [PATCH] pinctrl: armada-37xx: Fix spurious irq management

From: Linus Walleij
Date: Thu May 24 2018 - 03:24:20 EST


On Wed, May 23, 2018 at 10:44 AM, Gregory CLEMENT
<gregory.clement@xxxxxxxxxxx> wrote:

> From: Terry Zhou <bjzhou@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx: update comment and add fix and stable tags]
> Fixes: 30ac0d3b0702 ("pinctrl: armada-37xx: Add edge both type gpio irq support")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Terry Zhou <bjzhou@xxxxxxxxxxx>
> Reviewed-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>
> Signed-off-by: Gregory CLEMENT <gregory.clement@xxxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij