mirror of
https://github.com/S3NEO/android_kernel_samsung_msm8226.git
synced 2024-11-07 03:47:13 +00:00
milletltetmo: go to bms fuelgauge_name
With sec-fuelgauge system showed always 0%, being impossible to use it while device is unplugged from charger. Change-Id: Ifbb75de85d002c0f1bf2a6e49f3af930f567058e
This commit is contained in:
parent
02ffa76a18
commit
2e0e882a59
2 changed files with 2 additions and 2 deletions
|
@ -307,7 +307,7 @@
|
|||
compatible = "samsung,sec-battery";
|
||||
battery,vendor = "SDI SDI";
|
||||
battery,charger_name = "smb358";
|
||||
battery,fuelgauge_name = "sec-fuelgauge";
|
||||
battery,fuelgauge_name = "bms";
|
||||
battery,technology = <2>; /* POWER_SUPPLY_TECHNOLOGY_LION */
|
||||
battery,ta_int = <&msmgpio 119 0x1>;
|
||||
battery,ta_irq_attr = <0x3>;
|
||||
|
|
|
@ -1163,7 +1163,7 @@ void board_battery_init(struct platform_device *pdev, struct sec_battery_info *b
|
|||
|
||||
#if defined(CONFIG_MACH_MATISSELTE_ATT) || defined(CONFIG_MACH_MATISSELTE_VZW) \
|
||||
|| defined(CONFIG_MACH_MILLETLTE_VZW) || defined(CONFIG_MACH_MATISSELTE_USC) || defined(CONFIG_MACH_MILLETLTE_ATT) || defined(CONFIG_MACH_MILLETLTE_CAN) || defined(CONFIG_MACH_MILLETLTE_TMO)
|
||||
battery->pdata->fuelgauge_name = "sec-fuelgauge";
|
||||
battery->pdata->fuelgauge_name = "bms";
|
||||
#endif
|
||||
#if defined(CONFIG_MACH_MATISSELTE_ATT) || defined(CONFIG_MACH_MATISSELTE_VZW) || defined(CONFIG_MACH_MATISSELTE_USC)
|
||||
battery->pdata->thermal_source = SEC_BATTERY_THERMAL_SOURCE_FG;
|
||||
|
|
Loading…
Reference in a new issue