power: bq27541: speed up reporting battery status during resume

Bug: 9005526
Change-Id: Ie1d4451a1872549294fc7443bf91cc66c350da36
Signed-off-by: Hank_Lee <Hank_Lee@asus.com>
This commit is contained in:
Hank_Lee 2013-05-23 07:40:26 +08:00
parent 9d96cdaae3
commit 7d34741b7e

View file

@ -793,7 +793,7 @@ static int bq27541_suspend(struct i2c_client *client, pm_message_t state)
static int bq27541_resume(struct i2c_client *client)
{
cancel_delayed_work(&bq27541_device->status_poll_work);
queue_delayed_work(bq27541_battery_work_queue,&bq27541_device->status_poll_work, 5*HZ);
queue_delayed_work(bq27541_battery_work_queue,&bq27541_device->status_poll_work, 0.1*HZ);
return 0;
}
#endif