pm2301-charger: Wake device on register access
authorRupesh Kumar <rupesh.kumar@stericsson.com>
Wed, 5 Dec 2012 08:44:13 +0000 (14:14 +0530)
committerLee Jones <lee.jones@linaro.org>
Thu, 7 Mar 2013 04:35:57 +0000 (12:35 +0800)
commitb64f51c4adde8972afac778a63a19a30c6d5f4b0
tree59a506e39c40e9387748fdb56cab439b64ab9da3
parent7a2cf9bacf6c5f3119a9100f103dc46a1f648fbb
pm2301-charger: Wake device on register access

When USB  Dedicated or Standard host chargers are plugged into
the device, chargealg attempts to disable the PM2301 AC charger,
However, disabling PM2301 was failing because of it being in
runtime suepend mode & LPN pin being low.

Signed-off-by: Rupesh Kumar <rupesh.kumar@stericsson.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Marcus COOPER <marcus.xm.cooper@stericsson.com>
Reviewed-by: Philippe LANGLAIS <philippe.langlais@stericsson.com>
drivers/power/pm2301_charger.c