mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
2snd Fuelgauge SM5602 move temp coefficient to ext channel
2Snd Fuelgauge SM5602 move temperature coefficient to ext channel Change-Id: Id62c661fe7b534775891c9350efe36b261b4f53c Signed-off-by: huaqin85 <huaqin85@motorola.com> Reviewed-on: https://gerrit.mot.com/2167222 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
a0c5ae4cec
commit
b7578c2dbf
1 changed files with 2 additions and 2 deletions
|
|
@ -538,14 +538,14 @@ static int fg_read_temperature(struct sm_fg_chip *sm, enum sm_fg_temperature_typ
|
|||
} else {
|
||||
temp = _calculate_battery_temp_ex(sm, data);
|
||||
}
|
||||
pr_info("fg_read_temperature_ex temp_ex=%d\n", temp);
|
||||
temp = temp * 10;
|
||||
pr_info("fg_read_temperature_ex temp_ex=%d\n", temp);
|
||||
break;
|
||||
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
temp = temp * 10;
|
||||
return temp;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue