acer-wmi: Detect communication hot key number
authorLee, Chun-Yi <jlee@suse.com>
Mon, 19 Mar 2012 09:37:32 +0000 (17:37 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 26 Mar 2012 19:05:27 +0000 (15:05 -0400)
commit34b6cfabd760d3a2784f0ae649eb5e390e0e53cc
tree833b87bc083f1818399709768810f66385f43f58
parent917ee75a59160fe3518c1672feb4562f11a18fbc
acer-wmi: Detect communication hot key number

Currently we set a fixed hot key number to 0x01 for communction button,
but, actually, the key number is different on each acer laptop and it was
reported by SMBIOS.

So, add this patch to get the communication hot key number from Acer
OEM-specific SMBIOS Type AA.

Tested on Acer TravelMate 4750

Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c