]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mfd: ab8500-sysctrl.c: Provide charging as reset reason
authorJonas Aaberg <jonas.aberg@stericsson.com>
Thu, 18 Aug 2011 08:14:38 +0000 (10:14 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 4 Feb 2013 08:28:45 +0000 (08:28 +0000)
commit5a4bac6e6331feb0edd9522f3c7bbb9a01571566
tree7f42b90fc3148227927242cce38bc0c17b037d69
parent0903940dcddcaa3f567a1a2308b0c55e2ce0643b
mfd: ab8500-sysctrl.c: Provide charging as reset reason

It's possible to supply a string to provide a reason for
triggering a restart. In this case our reason is to enter
charging-only mode, as a charger was found to be present.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
drivers/mfd/ab8500-sysctrl.c