From: Hans de Goede Date: Sat, 7 Feb 2015 08:53:53 +0000 (+0100) Subject: ACPI / video: Add disable_native_backlight quirk for Samsung 510R X-Git-Tag: v3.16.35~2743 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3be0cd3f8b4355624024ca26cfafa51c83f48ea4;p=thirdparty%2Fkernel%2Fstable.git ACPI / video: Add disable_native_backlight quirk for Samsung 510R commit e77a16355a29230b99bafe55834a8252e55308ec upstream. Backlight control through the native intel interface does not work properly on the Samsung 510R, where as using the acpi_video interface does work, add a quirk for this. Link: https://bugzilla.redhat.com/show_bug.cgi?id=1186097 Signed-off-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Luis Henriques --- diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index d4b6a214892b2..0f9bf52792b5b 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c @@ -711,6 +711,15 @@ static struct dmi_system_id video_dmi_table[] __initdata = { DMI_MATCH(DMI_PRODUCT_NAME, "370R4E/370R4V/370R5E/3570RE/370R5V"), }, }, + { + /* https://bugzilla.redhat.com/show_bug.cgi?id=1186097 */ + .callback = video_disable_native_backlight, + .ident = "SAMSUNG 3570R/370R/470R/450R/510R/4450RV", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), + DMI_MATCH(DMI_PRODUCT_NAME, "3570R/370R/470R/450R/510R/4450RV"), + }, + }, { /* https://bugzilla.redhat.com/show_bug.cgi?id=1094948 */ .callback = video_disable_native_backlight,