Merge "power: qpnp-fg: fix address used for storing cc_soc coefficient"

This commit is contained in:
Linux Build Service Account 2015-07-14 06:46:35 -07:00 committed by Gerrit - the friendly Code Review server
commit 9c61dea3eb
1 changed files with 1 additions and 1 deletions

View File

@ -2835,7 +2835,7 @@ static void fg_cap_learning_save_data(struct fg_chip *chip)
cc_to_soc_coeff = div64_s64(half_float(data), cc_mah);
half_float_to_buffer(cc_to_soc_coeff, data);
rc = fg_mem_write(chip, (u8 *)data,
FG_AGING_STORAGE_REG, 2,
ACTUAL_CAPACITY_REG, 2,
CC_SOC_COEFF_OFFSET, 0);
if (rc)
pr_err("Failed to write cc_soc_coeff_offset: %d\n",