]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mfd: abx500-core: Provide an API to dump all ABx500 registers
authorMian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Fri, 27 Jan 2012 10:22:16 +0000 (11:22 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Feb 2013 08:31:34 +0000 (08:31 +0000)
commite0f4fec030ce412666cc127702adbf0a6cfa0855
tree634efff527d473f99e995ec47173cd610b4c1cd4
parentc73db9f7a20c3b6a7026cbb70df2603aa2ce2e5a
mfd: abx500-core: Provide an API to dump all ABx500 registers

Some drivers can detect subsystem failures e.g. shared memory driver
can detect modem sub system failures. It would be helpful in analyzing
these failures if AB register dump is available at that point. This
patch adds the API for the drivers to dump AB registers in the kernel
log.

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>
drivers/mfd/abx500-core.c
include/linux/mfd/abx500.h