Commit 8e3039ed authored by Vojtech Pavlik's avatar Vojtech Pavlik

input: Only generate rawmode warnings if the event we cannot handle

	is a real key and not just a button or something.
parent d3001bb1
......@@ -1027,6 +1027,7 @@ void kbd_keycode(unsigned int keycode, int down)
if ((raw_mode = (kbd->kbdmode == VC_RAW)))
if (emulate_raw(vc, keycode, !down << 7))
if (keycode < BTN_MISC)
printk(KERN_WARNING "keyboard.c: can't emulate rawmode for keycode %d\n", keycode);
#ifdef CONFIG_MAGIC_SYSRQ /* Handle the SysRq Hack */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment