diff options
author | Chandler Zhang <chazhang@nvidia.com> | 2012-07-13 17:01:38 +0800 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-07-16 19:14:58 -0700 |
commit | 7013f2d625dbf31479b3a67de25503a01ecd02c2 (patch) | |
tree | a0023903bc5c74aaba18f05d8279999874f0e680 /drivers/power | |
parent | 60cd13b6f1bfa4fb808add87d225d8373f4cf3f8 (diff) |
power: max17048: fix power polling at resume
The state of charing is not correct because of the 1 sec delay.
Remove the delay to fix the issue.
Bug 1016683
Change-Id: I389970e32d34578bb1ec1f2019d78145f250a673
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/115632
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/max17048_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/max17048_battery.c b/drivers/power/max17048_battery.c index c65855f72dba..770d5bc64c0b 100644 --- a/drivers/power/max17048_battery.c +++ b/drivers/power/max17048_battery.c @@ -592,7 +592,7 @@ static int max17048_resume(struct i2c_client *client) return ret; } - schedule_delayed_work(&chip->work, MAX17048_DELAY); + schedule_work(&chip->work); return 0; } |