mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
power_supply: cw2015_battery: Add msleep(200) when recover from sleep mode
Change-Id: I66f0ee349622f24646376822948d331922676ad3 Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
This commit is contained in:
committed by
Huang, Tao
parent
519a6f8b7d
commit
1b7fb3f265
@@ -355,6 +355,7 @@ static int cw_get_capacity(struct cw_battery *cw_bat)
|
||||
dev_info(&cw_bat->client->dev,
|
||||
"report battery capacity error1");
|
||||
if_quickstart = 1;
|
||||
msleep(200);
|
||||
} else
|
||||
dev_dbg(&cw_bat->client->dev,
|
||||
"the cw201x capacity is %d, funciton: %s\n",
|
||||
|
||||
Reference in New Issue
Block a user