android_kernel_xiaomi_sm8350/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 V4L/DVB (4999): [PATCH] Cablestar2 support 2007-02-21 13:34:15 -02:00
bt8xx V4L/DVB (5202): DVB: Use ARRAY_SIZE macro when appropriate 2007-02-21 13:35:18 -02:00
cinergyT2 V4L/DVB (5121): Proper vendor/device ID for the CinergyT2 input device 2007-02-21 13:34:48 -02:00
dvb-core V4L/DVB (5400): Core: fix several locking related problems 2007-03-27 08:45:54 -03:00
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 V4L/DVB (5246): Budget-ci: IR handling fixups 2007-02-21 13:35:32 -02:00
ttusb-budget i2c: Declare more i2c_adapter parent devices 2007-02-13 22:09:03 +01:00
ttusb-dec V4L/DVB (5164): Compat: Handle input_register_device() change and some others 2007-02-21 13:35:10 -02:00
Kconfig
Makefile