power: tps80031: charger: handle re-charge event
authorXin Xie <xxie@nvidia.com>
Fri, 13 Jul 2012 01:26:59 +0000 (18:26 -0700)
committerSimone Willett <swillett@nvidia.com>
Wed, 15 Aug 2012 18:55:58 +0000 (11:55 -0700)
commit5c62ed785f69f361ba1702a65876cd73e329a5f8
treeb144c2daab48e0e47c48fc7eb9810597a5c41626
parent548979770b46039b1f42502c18d34bbf1e0a96bb
power: tps80031: charger: handle re-charge event

After the charging completed, TPS80031 can re-enable the charging if it
sense the voltage dropping (120mV below target). Current drive does not
handle this event and causing the charging forever stopped.

This patch will check the above re-charging happens in the charging WDT
handler, and will ack WDT in order to continue charging.

BUG 1015045

Change-Id: Ia0a53d29cd0e73e7ebcd53f8176c8ef81b6c6090
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/122309
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/power/tps80031-charger.c