linux/drivers/media
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
..
common V4L/DVB (5332): Ir_rc5_timer_end decoder lockup fix 2007-03-27 08:45:53 -03:00
dvb DVB: dvb-usb-remote - fix oops when changing keymap 2007-04-13 18:35:39 -07:00
radio V4L/DVB (5390): Radio: Fix error in Kbuild file 2007-03-27 08:45:53 -03:00
video V4L/DVB (5421): Fix suspend/resume in msp3400 and tuner 2007-03-27 08:45:55 -03:00
Kconfig V4L/DVB (5196): VIDEO_BUF depends on PCI 2007-02-21 13:35:16 -02:00
Makefile [PATCH] dvb: avoid building empty built-in.o 2005-09-09 13:57:36 -07:00