From: Carlos Corbacho <carlos@strangeworlds.co.uk>
To: linux-acpi@vger.kernel.org
Subject: [PATCH 4/4] acer-wmi: Fix acpi video detection
Date: Sat, 14 Feb 2009 09:54:04 +0000 [thread overview]
Message-ID: <20090214095404.18550.42478.stgit@localhost> (raw)
In-Reply-To: <20090214095342.18550.24339.stgit@localhost>
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");
next prev parent reply other threads:[~2009-02-14 10:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-14 9:53 [PATCH 0/4] WMI patches for 2.6.29-rc5 Carlos Corbacho
2009-02-14 9:53 ` [PATCH 1/4] acer-wmi: double free in acer_rfkill_exit() Carlos Corbacho
2009-02-14 9:53 ` [PATCH 2/4] ACPI: WMI: Unmark as 'experimental' Carlos Corbacho
2009-02-14 9:53 ` [PATCH 3/4] acer-wmi: " Carlos Corbacho
2009-02-14 9:54 ` Carlos Corbacho [this message]
2009-03-16 2:32 ` [PATCH 0/4] WMI patches for 2.6.29-rc5 Len Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090214095404.18550.42478.stgit@localhost \
--to=carlos@strangeworlds.co.uk \
--cc=linux-acpi@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.