mfd/tc3589x: fix random interrupt misses
authorSundar Iyer <sundar.iyer@stericsson.com>
Mon, 13 Dec 2010 04:03:16 +0000 (09:33 +0530)
committerLinus Walleij <linus.walleij@stericsson.com>
Sun, 19 Dec 2010 18:27:52 +0000 (19:27 +0100)
commitbd77efd0cea80865d4cfcc1e4b62789c51a74b2d
tree913a59584997dc809d4616501e6ada10bdac210d
parent611b7590afa6e6c6b0942b1d3efef17fbb348ef5
mfd/tc3589x: fix random interrupt misses

On the TC35892, a random delayed interrupt clear (GPIO IC) write locks up the
child interrupts. In such a case, the original interrupt is active and not yet
acknowledged. Re-check the IRQST bit for any pending interrupts and handle
those.

Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Sundar Iyer <sundar.iyer@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
drivers/mfd/tc3589x.c