V4L/DVB (12600): dvb-usb-remote: return KEY_RESERVED if there's free space for new...
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 30 Aug 2009 01:03:47 +0000 (22:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:19:49 +0000 (12:19 -0300)
commita4c1cbc7819e890d4c2bc2b79b6cbf0fd9cad699
treea3ad52e6b36c7fd6c23bfe93c60e46eca1dd05dc
parentb77f0a76304dae754003b0a84fb4f66bf9934c97
V4L/DVB (12600): dvb-usb-remote: return KEY_RESERVED if there's free space for new keys

The input subsystem checks if get_keycode works for a scan code. Due to that,
we need to return a valid value when there's some space at the table that
can be used by a scancode.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb-usb-remote.c