projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
519a6f8
)
power_supply: cw2015_battery: Add msleep(200) when recover from sleep mode
author
Zhangbin Tong
<zebulun.tong@rock-chips.com>
Tue, 29 Sep 2015 01:36:47 +0000
(09:36 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Tue, 29 Sep 2015 03:21:48 +0000
(11:21 +0800)
Change-Id: I66f0ee349622f24646376822948d331922676ad3
Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
drivers/power/cw2015_battery.c
patch
|
blob
|
history
diff --git
a/drivers/power/cw2015_battery.c
b/drivers/power/cw2015_battery.c
index d2bdbd54f732e172f5652aec9b899b70af827efd..4a86c8443627fb4fe87cb93957740d58af016cd1 100755
(executable)
--- a/
drivers/power/cw2015_battery.c
+++ b/
drivers/power/cw2015_battery.c
@@
-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",