mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
power: bq24190_charger: Fix charge type sysfs property
Access to the BQ24190's configurable charge type property (none, trickle, fast) is being masked by an incorrect power_supply_property entry. After applying this patch a new 'charge_type' property will appear in the bq24190-charger sysfs folder backed up by getters/setters already present in the driver. Signed-off-by: Andreas Dannenberg <[email protected]> Acked-by: Dan Murphy <[email protected]> Acked-by: Andrew F. Davis <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
This commit is contained in:
parent
1e8b82c1ff
commit
c9f85a90d4
1 changed files with 1 additions and 1 deletions
|
|
@ -902,7 +902,7 @@ static int bq24190_charger_property_is_writeable(struct power_supply *psy,
|
|||
}
|
||||
|
||||
static enum power_supply_property bq24190_charger_properties[] = {
|
||||
POWER_SUPPLY_PROP_TYPE,
|
||||
POWER_SUPPLY_PROP_CHARGE_TYPE,
|
||||
POWER_SUPPLY_PROP_HEALTH,
|
||||
POWER_SUPPLY_PROP_ONLINE,
|
||||
POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue