mfd : Check if there are pending irq on the db8500 gic
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Feb 2012 21:46:06 +0000 (22:46 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:55 +0000 (18:46 +0100)
commitcc9a0f68d1f8b9bfd9c0c2ada13db64d63f63db3
tree5adff8293ddbf9ff83b778988b0b22fd22bc1711
parent801448e0672008acec050fbef3b8a7df7c5edcc1
mfd : Check if there are pending irq on the db8500 gic

This patch introduces a routine to check if there are some
irqs pending on the gic. Usually this check is not relevant because
it appears racy (an irq can arrive right after this check), but in
the ux500 it makes sense because the prcmu decouples the gic from
the A9 cores.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/db8500-prcmu.c
include/linux/mfd/db8500-prcmu.h
include/linux/mfd/dbx500-prcmu.h