Fix backlight issues on some Samsung laptops (rhbz 861573)
From: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
e8129d69bd
commit
c25186f0b7
@ -645,6 +645,7 @@ Patch26000: perf-lib64.patch
|
|||||||
|
|
||||||
# Patch series from Hans for various backlight and platform driver fixes
|
# Patch series from Hans for various backlight and platform driver fixes
|
||||||
Patch26001: thinkpad_acpi-Add-mappings-for-F9-F12-hotkeys-on-X24.patch
|
Patch26001: thinkpad_acpi-Add-mappings-for-F9-F12-hotkeys-on-X24.patch
|
||||||
|
Patch26002: samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch
|
||||||
|
|
||||||
# END OF PATCH DEFINITIONS
|
# END OF PATCH DEFINITIONS
|
||||||
|
|
||||||
@ -1367,6 +1368,7 @@ ApplyPatch perf-lib64.patch
|
|||||||
|
|
||||||
# Patch series from Hans for various backlight and platform driver fixes
|
# Patch series from Hans for various backlight and platform driver fixes
|
||||||
ApplyPatch thinkpad_acpi-Add-mappings-for-F9-F12-hotkeys-on-X24.patch
|
ApplyPatch thinkpad_acpi-Add-mappings-for-F9-F12-hotkeys-on-X24.patch
|
||||||
|
ApplyPatch samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch
|
||||||
|
|
||||||
# END OF PATCH APPLICATIONS
|
# END OF PATCH APPLICATIONS
|
||||||
|
|
||||||
|
41
samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch
Normal file
41
samsung-laptop-Add-broken-acpi-video-quirk-for-NC210.patch
Normal file
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user