]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist
authorHans de Goede <hdegoede@redhat.com>
Mon, 22 Apr 2019 20:43:01 +0000 (22:43 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 1 May 2019 22:47:09 +0000 (00:47 +0200)
commit9274c78305e12c5f461bec15f49c38e0f32ca705
treeee6eb838434e8456b3ca9217807d25d82aa14554
parent243f8ffc883a120516b1280c799b2e5081169efd
power: supply: axp288_fuel_gauge: Add ACEPC T8 and T11 mini PCs to the blacklist

The ACEPC T8 and T11 Cherry Trail Z8350 mini PCs use an AXP288 and as PCs,
rather then portables, they does not have a battery. Still for some
reason the AXP288 not only thinks there is a battery, it actually
thinks it is discharging while the PC is running, slowly going to
0% full, causing userspace to shutdown the system due to the battery
being critically low after a while.

This commit adds the ACEPC T8 and T11 to the axp288 fuel-gauge driver
blacklist, so that we stop reporting bogus battery readings on this device.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1690852
Cc: stable@vger.kernel.org
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