diff options
| author | 2020-04-06 16:05:38 +0200 | |
|---|---|---|
| committer | 2020-04-14 00:59:22 +0200 | |
| commit | 4ac54b88b6c191e400a4e5d09da3a693307365eb (patch) | |
| tree | 3aec7ba1ee9416094af99602d253270e5209bd2d /drivers/power | |
| parent | power: supply: max14656: remove set but not used 'ret' (diff) | |
| download | linux-dev-4ac54b88b6c191e400a4e5d09da3a693307365eb.tar.xz linux-dev-4ac54b88b6c191e400a4e5d09da3a693307365eb.zip | |
power: supply: axp288_fuel_gauge: Add the Meegopad T02 to the blacklist.
The Meegopad T02 is a PC in stick format and doesn't have a battery,
it is reported with a random and constant battery charge but as
discharging to userspace.
Add it to the blacklist to avoid the bogus battery status reporting.
Signed-off-by: Rafael Gandolfi <rafirafi.at@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
| -rw-r--r-- | drivers/power/supply/axp288_fuel_gauge.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/power/supply/axp288_fuel_gauge.c b/drivers/power/supply/axp288_fuel_gauge.c index f40fa0e63b6e..148eb8105803 100644 --- a/drivers/power/supply/axp288_fuel_gauge.c +++ b/drivers/power/supply/axp288_fuel_gauge.c @@ -718,6 +718,12 @@ static const struct dmi_system_id axp288_fuel_gauge_blacklist[] = { }, }, { + /* Meegopad T02 */ + .matches = { + DMI_MATCH(DMI_PRODUCT_NAME, "MEEGOPAD T02"), + }, + }, + { /* Meegopad T08 */ .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Default string"), |
