Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252864
b: refs/heads/master
c: c2647b5
h: refs/heads/master
v: v3
  • Loading branch information
Lee, Chun-Yi authored and Matthew Garrett committed May 27, 2011
1 parent 61da60d commit c703f94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb3ce2020451bdebe5ceac770504f427724008a9
refs/heads/master: c2647b5e99c8ff1b3f535c7c84564cdc53214edf
8 changes: 5 additions & 3 deletions trunk/drivers/platform/x86/acer-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -961,10 +961,12 @@ static void __init acer_commandline_init(void)
* These will all fail silently if the value given is invalid, or the
* capability isn't available on the given interface
*/
set_u32(mailled, ACER_CAP_MAILLED);
if (!has_type_aa)
if (mailled >= 0)
set_u32(mailled, ACER_CAP_MAILLED);
if (!has_type_aa && threeg >= 0)
set_u32(threeg, ACER_CAP_THREEG);
set_u32(brightness, ACER_CAP_BRIGHTNESS);
if (brightness >= 0)
set_u32(brightness, ACER_CAP_BRIGHTNESS);
}

/*
Expand Down

0 comments on commit c703f94

Please sign in to comment.