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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 08:36:41 +0000 (10:36 +0200)
commitdcb122749f58ece13ad7d3c353e3cc784a2bf7a2
tree21b70d824ae12fe8a1c19b05f52e6c027f568846
parent760eecac993b7734d37aa3f0766cea7220f0a048
power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Compute Sticks.

[ 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>
drivers/power/supply/axp288_fuel_gauge.c