mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
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>
This commit is contained in:
parent
c715a38bb7
commit
d5164dbf1f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue