summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerlin Schumacher <merlin.schumacher@gmail.com>2012-01-24 04:35:35 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 12:59:15 -0800
commitf7118e1b0eec39161739ec702ea359427ade26b2 (patch)
treed3270d14b7425097f44743db8e0dce6c950509b3
parent872edb5fe78156f8a589e544bbe54eae07226356 (diff)
downloadlwn-f7118e1b0eec39161739ec702ea359427ade26b2.tar.gz
lwn-f7118e1b0eec39161739ec702ea359427ade26b2.zip
acer-wmi: support for P key on TM8372
commit 67e1d34cd54cbf33f093f1dd53e7bda1124eb972 upstream. BugLink: http://launchpad.net/bugs/865807 There is no entry for P key on TM8372, so when P key is pressed, only "acer_wmi: Unknown key number - 0x29" in dmesg. Signed-off-by: Merlin Schumacher <merlin.schumacher@gmail.com> Signed-off-by: Ike Panhc <ike.pan@canonical.com> Signed-off-by: Matthew Garrett <mjg@redhat.com> Cc: maximilian attems <max@stro.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/platform/x86/acer-wmi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index 2080b223c74a..202b567a706c 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -104,6 +104,7 @@ static const struct key_entry acer_wmi_keymap[] = {
{KE_KEY, 0x22, {KEY_PROG2} }, /* Arcade */
{KE_KEY, 0x23, {KEY_PROG3} }, /* P_Key */
{KE_KEY, 0x24, {KEY_PROG4} }, /* Social networking_Key */
+ {KE_KEY, 0x29, {KEY_PROG3} }, /* P_Key for TM8372 */
{KE_IGNORE, 0x41, {KEY_MUTE} },
{KE_IGNORE, 0x42, {KEY_PREVIOUSSONG} },
{KE_IGNORE, 0x43, {KEY_NEXTSONG} },