aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab8500-core.c
diff options
context:
space:
mode:
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>2012-01-27 05:35:41 -0500
committerLee Jones <lee.jones@linaro.org>2013-02-04 03:31:46 -0500
commit1d843a6c8c2067615fea0ff8cb62d4a5c4a6f8ae (patch)
tree1675f7b8f36d8703cac6086d49b81ab9cfc542f6 /drivers/mfd/ab8500-core.c
parent42002c6de9ee1916a118d6a732c533bfe138ed6f (diff)
mfd: ab8500-core: Allow the possibility to dump all AB8500 registers
Implement an API so that a user may dump all AB8500 registers via debugfs file access. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@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 e1650badd106..d228697f5d9b 100644
--- a/drivers/mfd/ab8500-core.c
+++ b/drivers/mfd/ab8500-core.c
@@ -319,6 +319,7 @@ static struct abx500_ops ab8500_ops = {
319 .mask_and_set_register = ab8500_mask_and_set_register, 319 .mask_and_set_register = ab8500_mask_and_set_register,
320 .event_registers_startup_state_get = NULL, 320 .event_registers_startup_state_get = NULL,
321 .startup_irq_enabled = NULL, 321 .startup_irq_enabled = NULL,
322 .dump_all_banks = ab8500_dump_all_banks,
322}; 323};
323 324
324static void ab8500_irq_lock(struct irq_data *data) 325static void ab8500_irq_lock(struct irq_data *data)