Skip to content

Commit e42fe5b

Browse files
jefferymillersre
authored andcommitted
power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Compute Sticks.
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 <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
1 parent ddb74e9 commit e42fe5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/power/supply/axp288_fuel_gauge.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -706,14 +706,14 @@ static const struct dmi_system_id axp288_fuel_gauge_blacklist[] = {
706706
{
707707
/* Intel Cherry Trail Compute Stick, Windows version */
708708
.matches = {
709-
DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
709+
DMI_MATCH(DMI_SYS_VENDOR, "Intel"),
710710
DMI_MATCH(DMI_PRODUCT_NAME, "STK1AW32SC"),
711711
},
712712
},
713713
{
714714
/* Intel Cherry Trail Compute Stick, version without an OS */
715715
.matches = {
716-
DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
716+
DMI_MATCH(DMI_SYS_VENDOR, "Intel"),
717717
DMI_MATCH(DMI_PRODUCT_NAME, "STK1A32SC"),
718718
},
719719
},

0 commit comments

Comments
 (0)