dell: add new dell WMI format for the AIO machines
authorAceLan Kao <acelan.kao@canonical.com>
Fri, 8 Mar 2013 07:44:30 +0000 (15:44 +0800)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 8 May 2013 23:59:43 +0000 (19:59 -0400)
commit5dd760b8131916dcf3680d1873d05df421c93a0c
tree0c7ed85ce5080713b5b1a6121d0b56cb29d20f06
parente0fd9affeb64088eff407dfc98bbd3a5c17ea479
dell: add new dell WMI format for the AIO machines

There is a new DELL WMI spec. with new WMI event format.
I'm working on the AIO machines, but I think the new format will apply to
all the Dell's machines, not only for AIO, which will be released later
this year.

The new format of the WMI buffer is shown as below
word 0 - the number of words following in the WMI buffer(not including
        this word.
word 1 - the event type
0x0000 - A hot key is pressed or an event occurred
0x000F - A sequence of hot keys are pressed
word 2 and on - the event data

Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/dell-wmi-aio.c