projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c715a38
)
dell-wmi: Add support for eject key on Dell Studio 1555
author
Islam Amer
<pharon@gmail.com>
Thu, 24 Jun 2010 17:39:47 +0000
(13:39 -0400)
committer
Matthew Garrett
<mjg@redhat.com>
Tue, 3 Aug 2010 13:48:50 +0000
(09:48 -0400)
Fixes pressing the eject key on Dell Studio 1555 does not work and produces
message :
dell-wmi: Unknown key 0 pressed
Signed-off-by: Islam Amer <pharon@gmail.com>
drivers/platform/x86/dell-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/dell-wmi.c
b/drivers/platform/x86/dell-wmi.c
index 66f53c3c35e8bf3fef464b2c8fae431167bca464..12a8e6fa1d56e8ff7ed439aa3032360537f7edb1 100644
(file)
--- a/
drivers/platform/x86/dell-wmi.c
+++ b/
drivers/platform/x86/dell-wmi.c
@@
-221,7
+221,7
@@
static void dell_wmi_notify(u32 value, void *context)
return;
}
- if (dell_new_hk_type)
+ if (dell_new_hk_type
|| buffer_entry[1] == 0x0
)
reported_key = (int)buffer_entry[2];
else
reported_key = (int)buffer_entry[1] & 0xffff;