From: Smelov Andrey Date: Tue, 20 Sep 2011 16:16:10 +0000 (-0700) Subject: Platform: samsung_laptop: samsung backlight for R528/R728 X-Git-Tag: Ubuntu-5.2.0-15.16~19443^2~44 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=093ed561648d43263c009ea88abab21a31cd4f1d;p=mirror_ubuntu-eoan-kernel.git Platform: samsung_laptop: samsung backlight for R528/R728 patch works for me, but I need to add "acpi_backlight=vendor" to kernel params Signed-off-by: Smelov Andrey Cc: stable Signed-off-by: Greg Kroah-Hartman Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index 359163011044..37374a5878eb 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c @@ -686,6 +686,15 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = { }, .callback = dmi_check_cb, }, + { + .ident = "R528/R728", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."), + DMI_MATCH(DMI_PRODUCT_NAME, "R528/R728"), + DMI_MATCH(DMI_BOARD_NAME, "R528/R728"), + }, + .callback = dmi_check_cb, + }, { }, }; MODULE_DEVICE_TABLE(dmi, samsung_dmi_table);