topstar-latop: ignore 0x82 event
authorManuel Lauss <manuel.lauss@googlemail.com>
Mon, 26 Sep 2011 13:04:54 +0000 (15:04 +0200)
committerMatthew Garrett <mjg@redhat.com>
Mon, 24 Oct 2011 14:52:37 +0000 (16:52 +0200)
commitbd038080c70b70a5b31c48af774fada36eacc834
tree8d909a6fe5ce34863bba55d584da986f1d1bdeed
parentac2dad886d9fae561fe53d693e1b6c33fb0ad674
topstar-latop: ignore 0x82 event

Event 0x82 is emitted whenever a backlight event happens (brightness
change, backlight on/off).  For instance, when display is switched
off after a timeout, event 0x82 is emitted, and along with it a keypress
which switches the display back on again.

This patch adds 0x82 to the event ignore list so that the display stays
off when it is automatically switched off.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/topstar-laptop.c