]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Compute Sticks.
authorJeffery Miller <jmiller@neverware.com>
Tue, 25 Feb 2020 22:59:41 +0000 (16:59 -0600)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 25 May 2020 08:41:26 +0000 (10:41 +0200)
commit9244b81c9f6c29279e015cfb71908b209a515b08
tree04b89c5af6b70fe7508e3eec4330c42ad64e007d
parent95b70c4b9dac046a0c4c87cefc4b6374118e421e
power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Compute Sticks.

BugLink: https://bugs.launchpad.net/bugs/1875660
[ Upstream commit e42fe5b29ac07210297e75f36deefe54edbdbf80 ]

The Intel Compute Stick `STK1A32SC` can have a system vendor of
"Intel(R) Client Systems".
Broaden the Intel Compute Stick DMI checks so that they match "Intel
Corporation" as well as "Intel(R) Client Systems".

This fixes an issue where the STK1A32SC compute sticks were still
exposing a battery with the existing blacklist entry.

Signed-off-by: Jeffery Miller <jmiller@neverware.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/power/supply/axp288_fuel_gauge.c