power: supply: axp288_fuel_gauge: Add Mele PCG03 to the deny-list
authorHans de Goede <hdegoede@redhat.com>
Tue, 12 Jan 2021 10:36:05 +0000 (11:36 +0100)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Tue, 12 Jan 2021 21:52:42 +0000 (22:52 +0100)
commit6b714ea49b2ad4ee7cdad9190c2b33e818e9303d
tree2e21a7dc1eefb1f7ba62411358b6c5fa8ac4f41f
parent32e4978bb920d047fe5de3ea42d176f267c01f63
power: supply: axp288_fuel_gauge: Add Mele PCG03 to the deny-list

The Mele PCG03 is another mini PC using the AXP288 PMIC where the EFI
code does not disable the charger part of the PMIC causing us to report
a discharging battery with a random battery charge to userspace.

Add it to the deny-list to avoid the bogus battery status reporting.

Cc: Rasmus Porsager <rasmus@beat.dk>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/axp288_fuel_gauge.c