From patchwork Sat Feb 14 09:54:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos Corbacho X-Patchwork-Id: 7223 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n1EADK2o029514 for ; Sat, 14 Feb 2009 10:13:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751328AbZBNKNT (ORCPT ); Sat, 14 Feb 2009 05:13:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751298AbZBNKNT (ORCPT ); Sat, 14 Feb 2009 05:13:19 -0500 Received: from bb-87-81-255-5.ukonline.co.uk ([87.81.255.5]:33145 "EHLO pegasus." rhost-flags-OK-OK-FAIL-FAIL) by vger.kernel.org with ESMTP id S1751328AbZBNKNS (ORCPT ); Sat, 14 Feb 2009 05:13:18 -0500 X-Greylist: delayed 1168 seconds by postgrey-1.27 at vger.kernel.org; Sat, 14 Feb 2009 05:13:14 EST Received: from [127.0.0.1] (localhost [127.0.0.1]) by pegasus. (8.14.3/8.13.8) with ESMTP id n1E9s4M8018642 for ; Sat, 14 Feb 2009 09:54:04 GMT From: Carlos Corbacho Subject: [PATCH 4/4] acer-wmi: Fix acpi video detection To: linux-acpi@vger.kernel.org Date: Sat, 14 Feb 2009 09:54:04 +0000 Message-ID: <20090214095404.18550.42478.stgit@localhost> In-Reply-To: <20090214095342.18550.24339.stgit@localhost> References: <20090214095342.18550.24339.stgit@localhost> User-Agent: StGIT/0.14.1 MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Robert Jarzmik Acer WMI video driver can be used if _no_ acpi video driver is found, not the opposite. Signed-off-by: Robert Jarzmik Signed-off-by: Carlos Corbacho --- drivers/platform/x86/acer-wmi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 94c9f91..6bcca61 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -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");