projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e81ecc
)
acer-wmi: fix rfkill conversion
author
Alan Jenkins
<alan-jenkins@tuffmail.co.uk>
Sun, 19 Jul 2009 08:48:28 +0000
(09:48 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 21 Jul 2009 19:58:54 +0000
(15:58 -0400)
Fix another polarity error introduced by the rfkill rewrite,
this time in acer_rfkill_set().
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/platform/x86/acer-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/acer-wmi.c
b/drivers/platform/x86/acer-wmi.c
index
be2fd6f
..
fb45f5e
100644
(file)
--- a/
drivers/platform/x86/acer-wmi.c
+++ b/
drivers/platform/x86/acer-wmi.c
@@
-973,7
+973,7
@@
static int acer_rfkill_set(void *data, bool blocked)
{
acpi_status status;
u32 cap = (unsigned long)data;
- status = set_u32(!
!
blocked, cap);
+ status = set_u32(!blocked, cap);
if (ACPI_FAILURE(status))
return -ENODEV;
return 0;