OSDN Git Service

power: supply: axp288_fuel_gauge: Add Minix Neo Z83-4 to the blacklist
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Aug 2019 15:41:52 +0000 (17:41 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sun, 1 Sep 2019 19:44:15 +0000 (21:44 +0200)
commitfa7da7449eb3172e9ef56ae69a1db237cb26c8df
tree4a6809874bb79e41edfabe6cfe9b47b43cb6a1da
parent6f3ed834717b9fcfb4993afea231937422b8ad10
power: supply: axp288_fuel_gauge: Add Minix Neo Z83-4 to the blacklist

The Minix Neo Z83-4 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
battery readings (of always 100%) to userspace even though there is no
battery in this wall-outlet powered device.

Add it to the blacklist to avoid the bogus battery status reporting.

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