]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Don't send KEY_UNKNOWN for random video notifications
authorMatthew Garrett <mjg@redhat.com>
Fri, 11 Dec 2009 22:40:46 +0000 (17:40 -0500)
committerLen Brown <len.brown@intel.com>
Sun, 4 Apr 2010 05:29:12 +0000 (01:29 -0400)
commit69c5e8f6595768ffc1a91e2fe432ab77263fa79a
tree89701fc421ce40706f6ac01f7f75c28444a46d48
parent6aef398e7a793081e5ddeab9842b013aa96c5c45
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