From: Dmitry Torokhov Date: Sat, 29 Jan 2011 07:33:29 +0000 (-0800) Subject: Input: rc-keymap - return KEY_RESERVED for unknown mappings X-Git-Tag: v2.6.38-rc3~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54e74b87e2a9941c6fa82189f270b47cceeba714;p=pandora-kernel.git Input: rc-keymap - return KEY_RESERVED for unknown mappings Do not respond with -EINVAL to EVIOCGKEYCODE for not-yet-mapped scancodes, but rather return KEY_RESERVED. This fixes breakage with Ubuntu's input-kbd utility that stopped returning full keymaps for remote controls. Tested-by: Mauro Carvalho Chehab Tested-by: Mark Lord Signed-off-by: Dmitry Torokhov Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed