Skip to contentSkip to conversation

[email protected]

DISCUSSION Carlos Corbacho 1 participant 1 message Feb 14, 2009 1 message not in the archive ACPI

lore
Share & tools
lore

Carlos Corbacho

author Acked-by
#1 lore raw
In reply to a message not in the archive

[CC'ing linux-acpi]

Len, can you pick this up please?

Quoted 11 lines · On Thursday 12 February 2009 18:01:45 Robert Jarzmik wrote:

Would you please consider the following patch for the 2.6.29-rc trivial fixes please ?

--
Robert

From f2bb541e2e0925d3dede3be5fd2fe618fb40a404 Mon Sep 17 00:00:00 2001
From: Robert Jarzmik <[email protected]>
Date: Thu, 12 Feb 2009 18:55:51 +0100
Subject: [PATCH] acer-wmi: Fix acpi video detection

Quoted 4 lines

Acer WMI video driver can be used if _no_ acpi video driver is found, not the opposite.

Quoted 17 lines
---
 drivers/platform/x86/acer-wmi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
(quoted diff) +0 -0

b/drivers/platform/x86/acer-wmi.c index 94c9f91..6bcca61 100644

drivers/platform/x86/acer-wmi.c +1 -1
@@ -1297,7 +1297,7 @@ static int __init acer_wmi_init(void)
 
 	set_quirks();
 
-	if (!acpi_video_backlight_support() && has_cap(ACER_CAP_BRIGHTNESS)) {
+	if (acpi_video_backlight_support() && has_cap(ACER_CAP_BRIGHTNESS)) {
 		interface->capability &= ~ACER_CAP_BRIGHTNESS;
 		printk(ACER_INFO "Brightness must be controlled by "
 		       "generic video driver\n");
Signature · 3 lines
E-Mail: [email protected]
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D