mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
power: rk818-battery: restore coffset when update fail
Change-Id: Ia1d02a0d340819bbca14e4f0931f9e94230cef78 Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
This commit is contained in:
committed by
Huang, Tao
parent
9be9e8f5f3
commit
9c812075fd
@@ -693,6 +693,8 @@ static bool rk818_bat_adc_calib(struct rk818_battery *di)
|
||||
}
|
||||
}
|
||||
|
||||
rk818_bat_set_coffset(di, save_coffset);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user