summaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/abx500
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-02-14 09:24:10 +0000
committerLee Jones <lee.jones@linaro.org>2013-03-07 12:35:38 +0800
commit4dcdf57773fd45b483fc7613b9e51b89a57d655c (patch)
treeb5ca9c4474c6e58a09ec3429e813a451f84962cb /include/linux/mfd/abx500
parent72a90ddbc3d89a63b769ae1b8538c612cf01e675 (diff)
ab8500-bm: Quick re-attach charging behaviour
Due to a bug in some AB8500 ASICs charger removal cannot always be detected if the removal and reinsertion is done to close in time. This patch detects above described case and handles the situation so that charging will be kept turned on. Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/abx500')
-rw-r--r--include/linux/mfd/abx500/ux500_chargalg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/abx500/ux500_chargalg.h b/include/linux/mfd/abx500/ux500_chargalg.h
index d43ac0f3552..110d12f0954 100644
--- a/include/linux/mfd/abx500/ux500_chargalg.h
+++ b/include/linux/mfd/abx500/ux500_chargalg.h
@@ -17,6 +17,7 @@ struct ux500_charger;
struct ux500_charger_ops {
int (*enable) (struct ux500_charger *, int, int, int);
+ int (*check_enable) (struct ux500_charger *, int, int);
int (*kick_wd) (struct ux500_charger *);
int (*update_curr) (struct ux500_charger *, int);
};