]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: video: Fix Lenovo Ideapad Z570 DMI match
authorHans de Goede <hdegoede@redhat.com>
Thu, 2 Feb 2023 12:44:49 +0000 (13:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:43:56 +0000 (16:43 +0100)
commit9f10c8f8db50e02114e75aa5190dc937afe93f7a
treee62b42cea38ce443ff38a1a3ae0b49d8dcfce2b4
parent58cb420d2813ea0788af42530a2ba520abcc4775
ACPI: video: Fix Lenovo Ideapad Z570 DMI match

[ Upstream commit 2d11eae42d52a131f06061015e49dc0f085c5bfc ]

Multiple Ideapad Z570 variants need acpi_backlight=native to force native
use on these pre Windows 8 machines since acpi_video backlight control
does not work here.

The original DMI quirk matches on a product_name of "102434U" but other
variants may have different product_name-s such as e.g. "1024D9U".

Move to checking product_version instead as is more or less standard for
Lenovo DMI quirks for similar reasons.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/video_detect.c