linux-stable-rt/drivers/media/dvb
Olaf Kirch d791d413fd DVB: dvb-usb-remote - fix oops when changing keymap
DVB USB remotes do not support changing keycode maps but set
input_dev->keycodesize and input_dev->keycodemax without setting
input_dev->keycode. This causes kernel oops when user tries to
look up (or change) current keymap.

While the proper fix would be to make remotes handle keymap changes
we'll just remove keycodemax and keycodesize initialization so
EVIOCGKEYCODE and EVIOCSKEYCODE will simply return -EINVAL.

http://bugzilla.kernel.org/show_bug.cgi?id=8312

Signed-off-by: olaf.kirch@oracle.com
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-04-13 18:35:39 -07:00
..
b2c2
bt8xx
cinergyT2
dvb-core
dvb-usb DVB: dvb-usb-remote - fix oops when changing keymap 2007-04-13 18:35:39 -07:00
frontends V4L/DVB (5495): Tda10086: fix DiSEqC message length 2007-04-02 11:03:04 -03:00
pluto2 V4L/DVB (5496): Pluto2: fix incorrect TSCR register setting 2007-04-02 11:03:05 -03:00
ttpci
ttusb-budget
ttusb-dec
Kconfig
Makefile