]> git.karo-electronics.de Git - linux-beck.git/commit
ideapad: generate valid key event only
authorIke Panhc <ike.pan@canonical.com>
Thu, 3 May 2012 09:38:46 +0000 (17:38 +0800)
committerMatthew Garrett <mjg@redhat.com>
Thu, 31 May 2012 18:23:40 +0000 (14:23 -0400)
commit20a769c1c6671d3b8d18a7358eff15e3dd29e94b
tree206ccd8095f97e99c020ada7237396fc0191f563
parenta5c3892f56df57e2e1c0a069d72d1b20a1db202d
ideapad: generate valid key event only

Otherwise will generate KEY_UNKNOWN on un-listed vpc event,
which means nothing and is hard for user to report the detail
of the event.

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/ideapad-laptop.c