]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
power: supply: axp288_fuel_gauge: Drop BIOS version check from "T3 MRD" DMI quirk
authorHans de Goede <hdegoede@redhat.com>
Mon, 2 May 2022 11:12:35 +0000 (13:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jun 2022 16:41:16 +0000 (18:41 +0200)
[ Upstream commit f61509a6f0b70f5bedea34efaf8065621689bd7a ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/power/supply/axp288_fuel_gauge.c

index ce8ffd0a41b5a3d54cd9d3df6cee416f0b8ea1dc..68595897e72dbc65e919fd483406f5c07e168388 100644 (file)
@@ -600,7 +600,6 @@ static const struct dmi_system_id axp288_no_battery_list[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "T3 MRD"),
                        DMI_MATCH(DMI_CHASSIS_TYPE, "3"),
                        DMI_MATCH(DMI_BIOS_VENDOR, "American Megatrends Inc."),
-                       DMI_MATCH(DMI_BIOS_VERSION, "5.11"),
                },
        },
        {}