ACPI: Don't send KEY_UNKNOWN for random video notifications
commit17c452f99cf5e073b219a069a419b7b8ab3cfa97
authorMatthew Garrett <mjg@redhat.com>
Fri, 11 Dec 2009 22:40:46 +0000 (11 17:40 -0500)
committerLen Brown <len.brown@intel.com>
Sun, 4 Apr 2010 05:29:12 +0000 (4 01:29 -0400)
tree89701fc421ce40706f6ac01f7f75c28444a46d48
parent2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6
ACPI: Don't send KEY_UNKNOWN for random video notifications

I have a machine here that's sending 0xD1 notifications on the video
device once every second or so. I have no idea why (it's a prototype,
it may be broken), but sending KEY_UNKNOWN is unhelpful and results in
the console becoming unusable. Let's not report keys unless we have
something useful to say about them.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c