summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-core.c
diff options
context:
space:
mode:
authorBengt Jonsson <bengt.g.jonsson@stericsson.com>2012-02-14 13:01:00 +0100
committerLee Jones <lee.jones@linaro.org>2013-02-04 08:31:50 +0000
commit8f0eb43be5f461a28341fe724686f265b0719dd3 (patch)
treeb83534be81143dd7b5d2a53c7cfee2d7c7cbdb75 /drivers/mfd/ab8500-core.c
parent20bf428329400d3c71be3bdaaa265a485902f90b (diff)
downloadblackbird-op-linux-8f0eb43be5f461a28341fe724686f265b0719dd3.tar.gz
blackbird-op-linux-8f0eb43be5f461a28341fe724686f265b0719dd3.zip
mfd: ab8500-debugfs: Add interrupt debug
This patch adds an entry in debugfs to check number of interrupts from the AB. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Diffstat (limited to 'drivers/mfd/ab8500-core.c')
-rw-r--r--drivers/mfd/ab8500-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c
index d228697f5d9b..05a7af4b9768 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -521,6 +521,7 @@ static irqreturn_t ab8500_irq(int irq, void *dev)
int virq = ab8500_irq_get_virq(ab8500, line);
handle_nested_irq(virq);
+ ab8500_debug_register_interrupt(line);
value &= ~(1 << bit);
} while (value);
OpenPOWER on IntegriCloud