diff options
author | Corentin Chary <corentin.chary@gmail.com> | 2011-07-01 11:34:39 +0200 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-08-05 14:46:04 -0400 |
commit | fddbfed595b307f9dddc7a86ddfbcbcb80141e28 (patch) | |
tree | 8107abe6a86fb4371744b9000520efc843359a5a /drivers/platform/x86/asus-wmi.c | |
parent | 3df5fdadf6400373a696bb14e27d4771e5f6afb3 (diff) | |
download | blackbird-op-linux-fddbfed595b307f9dddc7a86ddfbcbcb80141e28.tar.gz blackbird-op-linux-fddbfed595b307f9dddc7a86ddfbcbcb80141e28.zip |
asus-wmi: add CWAP support and clarify the meaning of WAPF bits
ref: http://dev.iksaif.net/projects/3/wiki/Asus-laptop_WAPF
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'drivers/platform/x86/asus-wmi.c')
-rw-r--r-- | drivers/platform/x86/asus-wmi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index 3b9fb91e25ff..8787dfacf11d 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -1413,6 +1413,12 @@ static int asus_wmi_platform_init(struct asus_wmi *asus) return -ENODEV; } + /* CWAP allow to define the behavior of the Fn+F2 key, + * this method doesn't seems to be present on Eee PCs */ + if (asus->driver->wapf >= 0) + asus_wmi_set_devstate(ASUS_WMI_DEVID_CWAP, + asus->driver->wapf, NULL); + return asus_wmi_sysfs_init(asus->platform_device); } |