summaryrefslogtreecommitdiffstats
path: root/samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2014-06-03 09:45:55 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2014-06-03 10:12:35 -0400
commitc25186f0b7fc9dd8aca867cbaafa0bc539190b9f (patch)
tree6666b536c35829967c86c73e956a33fad18a5d71 /samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch
parente8129d69bd4e09eab591bfb15633bd75505a83ba (diff)
downloadkernel-c25186f0b7fc9dd8aca867cbaafa0bc539190b9f.tar.gz
kernel-c25186f0b7fc9dd8aca867cbaafa0bc539190b9f.tar.xz
kernel-c25186f0b7fc9dd8aca867cbaafa0bc539190b9f.zip
Fix backlight issues on some Samsung laptops (rhbz 861573)
From: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch')
-rw-r--r--samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch b/samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch
new file mode 100644
index 000000000..ce83ed21c
--- /dev/null
+++ b/samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch
@@ -0,0 +1,41 @@
+Bugzilla: 861573
+Upstream-status: Waiting for feedback from reporter
+
+From 2fa2078cdd4198b49c02cb03087158d398476463 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Mon, 2 Jun 2014 17:40:59 +0200
+Subject: [PATCH 02/14] samsung-laptop: Add broken-acpi-video quirk for
+ NC210/NC110
+
+Reported (and tested) here:
+https://bugzilla.redhat.com/show_bug.cgi?id=861573
+
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ drivers/platform/x86/samsung-laptop.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c
+index d1f030053176..98f61f677627 100644
+--- a/drivers/platform/x86/samsung-laptop.c
++++ b/drivers/platform/x86/samsung-laptop.c
+@@ -1534,6 +1534,16 @@ static struct dmi_system_id __initdata samsung_dmi_table[] = {
+ },
+ .driver_data = &samsung_broken_acpi_video,
+ },
++ {
++ .callback = samsung_dmi_matched,
++ .ident = "NC210",
++ .matches = {
++ DMI_MATCH(DMI_SYS_VENDOR, "SAMSUNG ELECTRONICS CO., LTD."),
++ DMI_MATCH(DMI_PRODUCT_NAME, "NC210/NC110"),
++ DMI_MATCH(DMI_BOARD_NAME, "NC210/NC110"),
++ },
++ .driver_data = &samsung_broken_acpi_video,
++ },
+ { },
+ };
+ MODULE_DEVICE_TABLE(dmi, samsung_dmi_table);
+--
+1.9.0
+