[PATCH 4/4] acer-wmi: Fix acpi video detection

Carlos Corbacho
2009-02-14T10:13:18Z

From: Robert Jarzmik <rjarzmik@free.fr>

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

Signed-off-by: Robert Jarzmik <rjarzmik@free.fr>
Signed-off-by: Carlos Corbacho <carlos@strangeworlds.co.uk>
---

drivers/platform/x86/acer-wmi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

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");