mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
power: smbcharger-mmi: Change Power Supply Type
To prevent invalid reporting by healthd, switch to POWER_SUPPLY_TYPE_MAIN so that it does not accidentally use mmi_battery as the reporting interface. Change-Id: Iaf0f2b37de02932994d5826c5b7f2aff777b8d28 Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com> Reviewed-on: https://gerrit.mot.com/1221855 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Curtis Porter <porterc@motorola.com> Reviewed-by: Kenneth Kessler <kennykessler@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
2924498e51
commit
7cae21ac9e
1 changed files with 1 additions and 1 deletions
|
|
@ -1100,7 +1100,7 @@ static int smbchg_reboot(struct notifier_block *nb,
|
|||
|
||||
static const struct power_supply_desc mmi_psy_desc = {
|
||||
.name = "mmi_battery",
|
||||
.type = POWER_SUPPLY_TYPE_BATTERY,
|
||||
.type = POWER_SUPPLY_TYPE_MAIN,
|
||||
.get_property = smb_mmi_get_property,
|
||||
.properties = smb_mmi_battery_props,
|
||||
.num_properties = ARRAY_SIZE(smb_mmi_battery_props),
|
||||
|
|
|
|||
Loading…
Reference in a new issue