Search
SailfishOS Open Build Service
>
Projects
>
home:ballock
:
archosG9
>
kernel-adaptation-archos-gen9-mmc
> suppress-current-now.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File suppress-current-now.patch of Package kernel-adaptation-archos-gen9-mmc
diff --git a/drivers/power/twl6030_bci_battery.c b/drivers/power/twl6030_bci_battery.c index aeb472c..9dfaef8 100644 --- a/drivers/power/twl6030_bci_battery.c +++ b/drivers/power/twl6030_bci_battery.c @@ -1226,7 +1226,6 @@ static enum power_supply_property twl6030_bci_battery_props[] = { POWER_SUPPLY_PROP_HEALTH, POWER_SUPPLY_PROP_ONLINE, POWER_SUPPLY_PROP_VOLTAGE_NOW, - POWER_SUPPLY_PROP_CURRENT_NOW, POWER_SUPPLY_PROP_CURRENT_AVG, POWER_SUPPLY_PROP_CAPACITY, POWER_SUPPLY_PROP_TEMP, @@ -1584,10 +1583,6 @@ static int twl6030_bci_battery_get_property(struct power_supply *psy, di->gpadc_vbat_chnl); val->intval = di->voltage_mV * 1000; break; - case POWER_SUPPLY_PROP_CURRENT_NOW: - twl6030battery_current(di); - val->intval = di->current_uA; - break; case POWER_SUPPLY_PROP_TEMP: val->intval = di->temp_C; break;