Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

power: supply: axp288_fuel_gauge: Drop BIOS version check from "T3 MRD" DMI quirk

Some "T3 MRD" mini-PCs / HDMI-sticks without a battery use a different
value then "5.11" for their DMI BIOS version field.

Drop the BIOS version check so that the no-battery "T3 MRD" DMI quirk
applies to these too.

Fixes: 3a06b912a5ce ("power: supply: axp288_fuel_gauge: Make "T3 MRD" no_battery_list DMI entry more generic")
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>

authored by

Hans de Goede and committed by
Sebastian Reichel
f61509a6 34f243e9

-1
-1
drivers/power/supply/axp288_fuel_gauge.c
··· 609 609 DMI_MATCH(DMI_BOARD_NAME, "T3 MRD"), 610 610 DMI_MATCH(DMI_CHASSIS_TYPE, "3"), 611 611 DMI_MATCH(DMI_BIOS_VENDOR, "American Megatrends Inc."), 612 - DMI_MATCH(DMI_BIOS_VERSION, "5.11"), 613 612 }, 614 613 .driver_data = (void *)AXP288_QUIRK_NO_BATTERY, 615 614 },