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:
9be9e8f
)
power: rk818-battery: restore coffset when update fail
author
Jianhong Chen
<chenjh@rock-chips.com>
Mon, 17 Oct 2016 02:31:12 +0000
(10:31 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Mon, 17 Oct 2016 07:04:53 +0000
(15:04 +0800)
Change-Id: Ia1d02a0d340819bbca14e4f0931f9e94230cef78
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
drivers/power/rk818_battery.c
patch
|
blob
|
history
diff --git
a/drivers/power/rk818_battery.c
b/drivers/power/rk818_battery.c
index fd0e2a4644e74896e87c2947cc8d512939a83b27..f9e6d8f7c4bdfb9d8564b9d753eb602556c970cf 100644
(file)
--- a/
drivers/power/rk818_battery.c
+++ b/
drivers/power/rk818_battery.c
@@
-693,6
+693,8
@@
static bool rk818_bat_adc_calib(struct rk818_battery *di)
}
}
+ rk818_bat_set_coffset(di, save_coffset);
+
return false;
}