diff options
author | Islam Amer <pharon@gmail.com> | 2010-06-24 13:39:47 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:48:50 -0400 |
commit | d5164dbf1f651d1e955b158fb70a9c844cc91cd1 (patch) | |
tree | 06e76bd14cbe09e8d33972ded4fc5ad80aac4428 /drivers | |
parent | c715a38bb7fc22fb8018b916c8a9f7ff017a8ad7 (diff) |
dell-wmi: Add support for eject key on Dell Studio 1555
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/platform/x86/dell-wmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c index 66f53c3c35e8..12a8e6fa1d56 100644 --- 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) | |||
221 | return; | 221 | return; |
222 | } | 222 | } |
223 | 223 | ||
224 | if (dell_new_hk_type) | 224 | if (dell_new_hk_type || buffer_entry[1] == 0x0) |
225 | reported_key = (int)buffer_entry[2]; | 225 | reported_key = (int)buffer_entry[2]; |
226 | else | 226 | else |
227 | reported_key = (int)buffer_entry[1] & 0xffff; | 227 | reported_key = (int)buffer_entry[1] & 0xffff; |